From 3180913b424675330c6399e0ba597c6defdb34fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 29 Aug 2011 14:18:06 +0100 Subject: glu: Fix build on mingw-w64. --- src/include/gluos.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/include/gluos.h b/src/include/gluos.h index ac0a787..290a06f 100644 --- a/src/include/gluos.h +++ b/src/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 -- cgit v1.2.1