]> git.cworth.org Git - apitrace/commitdiff
Fix build on Mingw-w64.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 29 Apr 2011 09:08:32 +0000 (10:08 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Fri, 29 Apr 2011 09:08:41 +0000 (10:08 +0100)
glimports.hpp

index 5277a0aabd2cc6871f0bc253e28a7dd571563bcc..5e8993816a99274c3777784729d6297bd69932b3 100644 (file)
@@ -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 */