From Marco Jez, fix for wchar_t being redefined.

This commit is contained in:
Robert Osfield 2005-11-22 09:47:18 +00:00
parent 7e2967c392
commit 14f943cc32

View File

@ -79,7 +79,7 @@
#endif #endif
// XXX This is from Win32's <ctype.h> // XXX This is from Win32's <ctype.h>
#if !defined(_WCHAR_T_DEFINED) && !(defined(__GNUC__)&&(__GNUC__ == 3)) #if !defined(_WCHAR_T_DEFINED) && !(defined(__GNUC__)&&((__GNUC__ == 3)||(__GNUC__ == 4)))
typedef unsigned short wchar_t; typedef unsigned short wchar_t;
#define _WCHAR_T_DEFINED #define _WCHAR_T_DEFINED
#endif #endif