]> git.cworth.org Git - apitrace/blobdiff - glimports.hpp
Dump the full set of constants on D3D.
[apitrace] / glimports.hpp
index e8d2c5c6036f86e06fe291090a8ac84f6e2e90c0..4b21083449114031498b91068c2b9af6db6d7777 100644 (file)
@@ -67,6 +67,7 @@
 
 #ifdef __MINGW32__
 
+extern "C"
 typedef struct _WGLSWAP
 {
     HDC hdc;
@@ -82,6 +83,9 @@ typedef struct _WGLSWAP
 #include <GL/glx.h>
 #include <GL/glext.h>
 
+/* Prevent collision with Trace::Bool */
+#undef Bool
+
 #endif /* !WIN32 */
 
 #endif /* _GLIMPORTS_HPP_ */