X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fglu%2Fsgi%2Finclude%2Fgluos.h;h=290a06f0282b5a090a4065e9ee27cf50031242bf;hp=802aa8402d46181777c71a663de1bcccd5e08a09;hb=6a7dea93fa70d670a5954e47a47075a2703209d4;hpb=d34ddad9a5260937e3ad5fc0b945f3195d7e032e diff --git a/src/glu/sgi/include/gluos.h b/src/glu/sgi/include/gluos.h index 802aa8402d4..290a06f0282 100644 --- a/src/glu/sgi/include/gluos.h +++ b/src/glu/sgi/include/gluos.h @@ -40,7 +40,13 @@ #define NOIME #define NOMINMAX +#ifdef __MINGW64_VERSION_MAJOR + #undef _WIN32_WINNT +#endif + #ifndef _WIN32_WINNT + /* XXX: Workaround a bug in mingw-w64's headers when NOGDI is set and + * _WIN32_WINNT >= 0x0600 */ #define _WIN32_WINNT 0x0400 #endif #ifndef STRICT @@ -60,6 +66,10 @@ #pragma comment(linker, "/OPT:NOWIN98") #endif +#ifndef WINGDIAPI +#define WINGDIAPI +#endif + #elif defined(__OS2__) #include