diff --git a/include/osg/GL b/include/osg/GL index 1f387c624..434468fa9 100644 --- a/include/osg/GL +++ b/include/osg/GL @@ -96,7 +96,7 @@ #endif // XXX This is from Win32's - #if !defined(_WCHAR_T_DEFINED) && !(defined(__GNUC__)&&((__GNUC__ == 3)||(__GNUC__ == 4))) + #if !defined(_WCHAR_T_DEFINED) && !(defined(__GNUC__)&&(__GNUC__ >2)) typedef unsigned short wchar_t; #define _WCHAR_T_DEFINED #endif