summaryrefslogtreecommitdiffstats
path: root/resources/opencl.h
diff options
context:
space:
mode:
Diffstat (limited to 'resources/opencl.h')
-rw-r--r--resources/opencl.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/resources/opencl.h b/resources/opencl.h
index d1b0c795..bbb14e38 100644
--- a/resources/opencl.h
+++ b/resources/opencl.h
@@ -1,11 +1,14 @@
+#ifdef _WIN32
+#include <windows.h>
+#else
+//just to make ANTLR happy
+#define __GNUC__
+#endif
#include <CL/cl_platform.h>
#include <CL/cl.h>
#include <CL/cl_ext.h>
-#ifdef _WIN32
-#include <windows.h>
-#endif
//#include <GL/gl.h>
#include <gltypes.h>
#include <CL/cl_gl.h>