]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/screen-dump.cxx
Frederic Bouvier:
[simgear.git] / simgear / screen / screen-dump.cxx
index 8a9da20fd88fb80559e478609c4eb206d7b705cd..ce4b5c45ff1e5bcb9fa8718382c1a6ba9144b80c 100644 (file)
 
 
 #ifdef HAVE_CONFIG_H
-#  include <config.h>
+#  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 <GL/glut.h>
-#include <simgear/xgl/xgl.h>
+#include <simgear/compiler.h>
+
+#include SG_GL_H
 
 #include "screen-dump.hxx"