From: José Fonseca Date: Fri, 29 Apr 2011 09:08:32 +0000 (+0100) Subject: Fix build on Mingw-w64. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=97297cb9e8314e7e5d384518b1fd428f1b3f1ff7;p=apitrace Fix build on Mingw-w64. --- 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 */