From ad95421312871694ec8009d9f92089c79b9f8607 Mon Sep 17 00:00:00 2001 From: Wade Walker Date: Sun, 1 Nov 2015 14:13:37 -0600 Subject: 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. --- make/stub_includes/CL20/cl_gl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/stub_includes/CL20/cl_gl.h') 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 +#include #else #include #endif -- cgit v1.2.3