X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscreen%2FGLBitmaps.cxx;h=a490a4d0bdc3ff4262bee9b079c1093e98406d5b;hb=dc09a50472890ac706d3c76d8af34cc3682ada0c;hp=0edadf4189b47f142ff4b6afb29f4f202a16511d;hpb=535f6a13b367d2a561cc5c221776906ab318cf99;p=simgear.git diff --git a/simgear/screen/GLBitmaps.cxx b/simgear/screen/GLBitmaps.cxx index 0edadf41..a490a4d0 100755 --- a/simgear/screen/GLBitmaps.cxx +++ b/simgear/screen/GLBitmaps.cxx @@ -1,9 +1,13 @@ #ifdef HAVE_CONFIG_H -# include +# 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,8 +15,9 @@ #include #include // memcpy() -#include -#include +#include + +#include SG_GL_H #include "GLBitmaps.h"