From 97297cb9e8314e7e5d384518b1fd428f1b3f1ff7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 29 Apr 2011 10:08:32 +0100 Subject: [PATCH] Fix build on Mingw-w64. --- glimports.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glimports.hpp b/glimports.hpp index 5277a0a..5e89938 100644 --- a/glimports.hpp +++ b/glimports.hpp @@ -70,7 +70,7 @@ #define PFD_SUPPORT_COMPOSITION 0x00008000 #endif -#ifdef __MINGW32__ +#ifndef WGL_SWAPMULTIPLE_MAX extern "C" typedef struct _WGLSWAP @@ -81,7 +81,7 @@ typedef struct _WGLSWAP #define WGL_SWAPMULTIPLE_MAX 16 -#endif /* __MINGW32__ */ +#endif /* !WGL_SWAPMULTIPLE_MAX */ #else /* !_WIN32 */ -- 2.45.2