]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/GLBitmaps.cxx
fix a typo
[simgear.git] / simgear / screen / GLBitmaps.cxx
index 0edadf4189b47f142ff4b6afb29f4f202a16511d..05f61553df646d24eddf1ccbc395379aeef2f487 100755 (executable)
@@ -1,9 +1,13 @@
 #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>
@@ -11,9 +15,6 @@
 #include <limits.h>
 #include <string.h>            // memcpy()
 
-#include <GL/glut.h>
-#include <simgear/xgl/xgl.h>
-
 #include "GLBitmaps.h"
 
 GlBitmap::GlBitmap( GLenum mode, GLint width, GLint height, GLubyte *bitmap )