]> git.mxchange.org Git - simgear.git/commitdiff
Hopefully the last Cygwin fix
authorehofman <ehofman>
Tue, 16 Mar 2004 14:25:15 +0000 (14:25 +0000)
committerehofman <ehofman>
Tue, 16 Mar 2004 14:25:15 +0000 (14:25 +0000)
simgear/scene/sky/clouds3d/glut_shapes.h

index 42bd306161b40e8702bda1158d0cca166161ae75..5c5ff39ba774c948cbcfa346f8bd060ae492590e 100644 (file)
@@ -6,7 +6,11 @@
 #  include <simgear_config.h>
 #endif
 
-#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
+#if defined(__CYGWIN__)  /* && !defined(USING_X) */
+#define WIN32
+#endif
+#if defined(WIN32)  /* MINGW and MSC predefine WIN32 */
 # include <windows.h>
 #endif