ID:426 - Include wchar.h instead of defining wchar_t ourselves

Fixes a compilation error with musl libc
This commit is contained in:
Dennis Schridde 2016-04-11 15:33:09 +02:00
parent f3f4361568
commit aeba39bffc

View File

@ -46,10 +46,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endif
#ifndef WIN32
/* WIN32 defines this in stdio.h */
#ifndef _WCHAR_T
#define _WCHAR_T
typedef long wchar_t;
#endif
#include <wchar.h>
#endif
#define far
#define near