summaryrefslogtreecommitdiff
path: root/glimports.hpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-04-10 13:40:52 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-04-10 13:40:52 +0100
commit32871ed473727ee7628bda7cad6a9e4130d0374a (patch)
tree5d4fffdbc436d0c73e7231fc5cebede87591c3fc /glimports.hpp
parentd5de1708af2ec530b5e0453b8b1e8e346caf67c2 (diff)
Split gltrace.cpp code into multiple files.
Diffstat (limited to 'glimports.hpp')
-rw-r--r--glimports.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/glimports.hpp b/glimports.hpp
index e8d2c5c..4b21083 100644
--- a/glimports.hpp
+++ b/glimports.hpp
@@ -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_ */