]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/screen-dump.cxx
Mac OS X fixes from Markus Morawitz
[simgear.git] / simgear / screen / screen-dump.cxx
index 27c6e9bc8b8666f4fbfd87d43ac9291b6346b522..ce4b5c45ff1e5bcb9fa8718382c1a6ba9144b80c 100644 (file)
 #  include <simgear_config.h>
 #endif
 
-#ifdef HAVE_WINDOWS_H
-#  include <windows.h>                     
+#if defined(__CYGWIN__)  /* && !defined(USING_X) */
+#define WIN32
+#endif
+
+#if defined(WIN32)  /* MINGW and MSC predefine WIN32 */
+# include <windows.h>
 #endif
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <limits.h>
 
-#include GLUT_H
+#include <simgear/compiler.h>
+
+#include SG_GL_H
 
 #include "screen-dump.hxx"