aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWade Walker <[email protected]>2015-11-08 14:12:22 -0600
committerWade Walker <[email protected]>2015-11-08 14:12:22 -0600
commitedd9720fbb570e0fe177cc41d3612084ea8a7b17 (patch)
treee2a3cbd3f62737527ffc862c6671f6c7c57fa8f0
parentad95421312871694ec8009d9f92089c79b9f8607 (diff)
Fix OS X 32-bit builds for OpenCL 1.2 and 2.0
Copies changes from Sven's commit f7c50fca34df0b5d393ffab0da09bce19ddfba64 into the two new config files for OpenCL 1.2 and 2.0, so the fix will be present in all three versions.
-rw-r--r--make/config/cl-impl-12.cfg4
-rw-r--r--make/config/cl-impl-20.cfg4
2 files changed, 4 insertions, 4 deletions
diff --git a/make/config/cl-impl-12.cfg b/make/config/cl-impl-12.cfg
index 4a441ad..c8b0c83 100644
--- a/make/config/cl-impl-12.cfg
+++ b/make/config/cl-impl-12.cfg
@@ -68,11 +68,11 @@ Ignore clGetExtensionFunctionAddress
ForceProcAddressGen clGetExtensionFunctionAddress
#append to generated c files
+CustomCCode #include <inttypes.h>
+CustomCCode #include <GL/glcorearb.h>
CustomCCode #include <CL/cl.h>
CustomCCode #include <CL/cl_ext.h>
CustomCCode #include <CL/cl_gl.h>
-CustomCCode #include <GL/glcorearb.h>
-CustomCCode #include <inttypes.h>
# implement manually via custom code
Ignore clCreateContext
diff --git a/make/config/cl-impl-20.cfg b/make/config/cl-impl-20.cfg
index 380e1de..d446da1 100644
--- a/make/config/cl-impl-20.cfg
+++ b/make/config/cl-impl-20.cfg
@@ -68,11 +68,11 @@ Ignore clGetExtensionFunctionAddress
ForceProcAddressGen clGetExtensionFunctionAddress
#append to generated c files
+CustomCCode #include <inttypes.h>
+CustomCCode #include <GL/glcorearb.h>
CustomCCode #include <CL/cl.h>
CustomCCode #include <CL/cl_ext.h>
CustomCCode #include <CL/cl_gl.h>
-CustomCCode #include <GL/glcorearb.h>
-CustomCCode #include <inttypes.h>
# implement manually via custom code
Ignore clCreateContext