diff options
author | Sven Gothel <[email protected]> | 2010-11-07 23:45:49 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-11-15 16:09:46 +0100 |
commit | ec962d224830804c38b5dd0362e0f6d284b73a22 (patch) | |
tree | 772d0f845894815b6ca51166b616965bbfd41a9c | |
parent | 7abe02d2b4de881c8af35331050b1e76d3c80a00 (diff) |
Removed __GNUC__ from opencl.h gluegen loader file
-rw-r--r-- | build.xml | 3 | ||||
-rw-r--r-- | resources/opencl.h | 6 |
2 files changed, 2 insertions, 7 deletions
@@ -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> |