From 6c1c179c62134e429d5f08d90e7fc31274fbbfcb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 31 Jul 2015 10:27:08 +0000 Subject: [PATCH] Compile fix for Mingw. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.4@15028 16af8721-9629-0410-8352-f15c8da7e697 --- src/osg/GL.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/GL.in b/src/osg/GL.in index 5ade5ed3a..905740dc3 100644 --- a/src/osg/GL.in +++ b/src/osg/GL.in @@ -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