X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscreen%2FGLBitmaps.cxx;h=a490a4d0bdc3ff4262bee9b079c1093e98406d5b;hb=dc09a50472890ac706d3c76d8af34cc3682ada0c;hp=f8b137022632cdbfd86289bed3799f586bd689cd;hpb=110e01a86137c8266f0dbe8bdacb9b9dce168338;p=simgear.git diff --git a/simgear/screen/GLBitmaps.cxx b/simgear/screen/GLBitmaps.cxx index f8b13702..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 +#include + +#include SG_GL_H #include "GLBitmaps.h"