diff options
author | Michael Bien <[email protected]> | 2010-02-21 00:02:28 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-21 00:02:28 +0100 |
commit | ca5cc5ab7ce9ccd0351ae4d936cab85f8cdcc889 (patch) | |
tree | 2cef7ce1dcdd663fc37f081fc71a7ff92b353045 /resources/opencl.h | |
parent | 8aed6c7f84eea5403422ded1cbb9b90073463d70 (diff) |
updated OpenCL headers to newest version (Wed, 17 Feb 2010).
Diffstat (limited to 'resources/opencl.h')
-rw-r--r-- | resources/opencl.h | 9 |
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> |