summaryrefslogtreecommitdiff
blob: bd98492b9b463ff3b5027e7f670e170fff4915f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ClanLib-2.3.6.orig/Sources/API/GL1/opengl1_defines.h
+++ ClanLib-2.3.6/Sources/API/GL1/opengl1_defines.h
@@ -44,6 +44,11 @@
 #ifndef CL_DISPLAYDEFINES_DEFINES
 #define CL_DISPLAYDEFINES_DEFINES
 
+/* newer Mesa defines this and creates a conflict */
+#ifdef GL_TYPE
+#undef GL_TYPE
+#endif
+
 #include <cstddef>
 
 #ifndef __APPLE__