]> git.tdb.fi Git - libs/gl.git/blobdiff - source/programsyntax.h
Avoid some brain damage from Windows headers
[libs/gl.git] / source / programsyntax.h
index 5e107a33a096232f2e3b3a0f93ed70ea36fe3b66..6a03f40fab67b2f4b02d17de5873587edf1d3e88 100644 (file)
@@ -7,6 +7,10 @@
 #include <vector>
 #include <msp/core/refptr.h>
 #include "extension.h"
+#include "uniform.h"
+
+#pragma push_macro("interface")
+#undef interface
 
 namespace Msp {
 namespace GL {
@@ -401,4 +405,6 @@ struct Module
 } // namespace GL
 } // namespace Msp
 
+#pragma pop_macro("interface")
+
 #endif