From: José Fonseca Date: Mon, 29 Aug 2011 13:18:06 +0000 (+0100) Subject: glu: Fix build on mingw-w64. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15465949e0e419d4719d84eb0220c4bb56a408db;p=mesa.git glu: Fix build on mingw-w64. --- diff --git a/src/glu/sgi/include/gluos.h b/src/glu/sgi/include/gluos.h index ac0a7874cec..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