summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-07 23:45:49 +0100
committerMichael Bien <[email protected]>2010-11-15 16:09:46 +0100
commitec962d224830804c38b5dd0362e0f6d284b73a22 (patch)
tree772d0f845894815b6ca51166b616965bbfd41a9c
parent7abe02d2b4de881c8af35331050b1e76d3c80a00 (diff)
Removed __GNUC__ from opencl.h gluegen loader file
-rw-r--r--build.xml3
-rw-r--r--resources/opencl.h6
2 files changed, 2 insertions, 7 deletions
diff --git a/build.xml b/build.xml
index 39dbda86..40c66214 100644
--- a/build.xml
+++ b/build.xml
@@ -43,11 +43,10 @@
config="resources/cl-if.cfg"
includeRefid="jocl.include.path"
emitter="com.jogamp.gluegen.JavaEmitter"
- dumpCPP="true"
+ dumpCPP="false"
debug="false">
<classpath refid="gluegen.classpath" />
</gluegen>
- <fail/>
<echo message="generate CLGLI interface..."/>
<gluegen src="resources/opencl.h"
diff --git a/resources/opencl.h b/resources/opencl.h
index 949b6dd6..28b874e7 100644
--- a/resources/opencl.h
+++ b/resources/opencl.h
@@ -1,9 +1,5 @@
-#ifdef _WIN32
-#include <windows.h>
-#else
//just to make ANTLR happy
-#define __GNUC__
-#endif
+// #define __GNUC__
#include <CL/cl_platform.h>
#include <CL/cl.h>