]> git.mxchange.org Git - simgear.git/blobdiff - XGL/xglUtils.c
Added point3d.hxx to replace cheezy fgPoint3d struct.
[simgear.git] / XGL / xglUtils.c
index 33331e55ac4a98519d80a74e8bbb9713602ebd8f..6980f13559418e1ff81462d7c2be33080b534869 100644 (file)
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -6,9 +10,7 @@
 #  include <malloc.h>
 #endif
 
-#ifdef WIN32
-#  include <windows.h>
-#else
+#ifdef HAVE_UNISTD_H
 #  include <unistd.h>
 #endif
 
 #endif
 
 int   xglTraceOn = TRUE ;
-#ifndef __CYGWIN32__
+
+#ifndef WIN32
     FILE *xglTraceFd = stdout ;
-#else /* __CYGWIN32__ */
+#else /* WIN32 */
     /* Bail for now, we just want it to compile I guess */
     FILE *xglTraceFd = NULL;
-#endif /* __CYGWIN32 */
+#endif /* WIN32 */
 
 struct GLenumLookup
 {