]> git.cworth.org Git - apitrace/blobdiff - glimports.hpp
Handle EXT_vertex_arrays and EXT_draw_range_elements.
[apitrace] / 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 */