summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/CL20/cl_gl.h
diff options
context:
space:
mode:
authorWade Walker <[email protected]>2015-11-01 14:13:37 -0600
committerWade Walker <[email protected]>2015-11-08 14:05:35 -0600
commitad95421312871694ec8009d9f92089c79b9f8607 (patch)
tree93a26b70dec0b2fe4489acebad4117ea80bf6279 /make/stub_includes/CL20/cl_gl.h
parent215901444d8fd98a14f190e6aa10c17b84ee4b7d (diff)
Fix compilation of OpenCL 2.x headers on OS X
The include files were getting the OS X framework files from OpenCL/*.h, instead of the local stub files from CL/*.h, which meant that OpenCL 2.x-related things were undefined. Changed OpenCL 2.x stub files to refer to local .h files only. Maybe later change 1.x also, but leaving it for now to minimize disruption to working code.
Diffstat (limited to 'make/stub_includes/CL20/cl_gl.h')
-rw-r--r--make/stub_includes/CL20/cl_gl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/stub_includes/CL20/cl_gl.h b/make/stub_includes/CL20/cl_gl.h
index 04080937..4ab6fb90 100644
--- a/make/stub_includes/CL20/cl_gl.h
+++ b/make/stub_includes/CL20/cl_gl.h
@@ -25,7 +25,7 @@
#define __OPENCL_CL_GL_H
#ifdef __APPLE__
-#include <OpenCL/cl.h>
+#include <CL/cl.h>
#else
#include <CL/cl.h>
#endif