aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>