]> git.mxchange.org Git - simgear.git/blobdiff - XGL/xglUtils.c
Check for __CYGWIN__ (b20) as well as __CYGWIN32__ (pre b20 compilers)
[simgear.git] / XGL / xglUtils.c
index fe14d63646a0285332f491c2620241a4f033e1de..bc5d7217e11f4f417c546bf4b914e04693f42cce 100644 (file)
@@ -1,8 +1,12 @@
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 
-#ifndef __CYGWIN32__
+#if !defined( __CYGWIN__ ) && !defined( __CYGWIN32__ )
 #  include <malloc.h>
 #endif
 
@@ -20,6 +24,7 @@
 #endif
 
 int   xglTraceOn = TRUE ;
+
 #ifndef WIN32
     FILE *xglTraceFd = stdout ;
 #else /* WIN32 */