X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscreen%2FGLBitmaps.cxx;h=a490a4d0bdc3ff4262bee9b079c1093e98406d5b;hb=dc09a50472890ac706d3c76d8af34cc3682ada0c;hp=57f95e07a0a76df6cde1bdc929091ea2adb2dfb6;hpb=cb2df234aeab0961fd783ba4ed503a67f4c04afe;p=simgear.git diff --git a/simgear/screen/GLBitmaps.cxx b/simgear/screen/GLBitmaps.cxx index 57f95e07..a490a4d0 100755 --- a/simgear/screen/GLBitmaps.cxx +++ b/simgear/screen/GLBitmaps.cxx @@ -2,8 +2,12 @@ # include #endif -#ifdef HAVE_WINDOWS_H -# include +#if defined(__CYGWIN__) /* && !defined(USING_X) */ +#define WIN32 +#endif + +#if defined(WIN32) /* MINGW and MSC predefine WIN32 */ +# include #endif #include @@ -11,7 +15,9 @@ #include #include // memcpy() -#include GLUT_H +#include + +#include SG_GL_H #include "GLBitmaps.h"