X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscreen%2FGLBitmaps.cxx;h=05f61553df646d24eddf1ccbc395379aeef2f487;hb=84dd54b33a6d8b35e57c32194b025f79245f35c4;hp=225f5cb9e7ae93637ed98796664699c9ea9eef89;hpb=5173d709e090b953eaf800cbcd1bf897de332a12;p=simgear.git diff --git a/simgear/screen/GLBitmaps.cxx b/simgear/screen/GLBitmaps.cxx index 225f5cb9..05f61553 100755 --- a/simgear/screen/GLBitmaps.cxx +++ b/simgear/screen/GLBitmaps.cxx @@ -1,17 +1,19 @@ #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 #include #include - -#include -#include +#include // memcpy() #include "GLBitmaps.h"