Jogamp
Fix OS X 32-bit builds for OpenCL 1.2 and 2.0
authorWade Walker <wwalker3@austin.rr.com>
Sun, 8 Nov 2015 20:12:22 +0000 (14:12 -0600)
committerWade Walker <wwalker3@austin.rr.com>
Sun, 8 Nov 2015 20:12:22 +0000 (14:12 -0600)
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.

make/config/cl-impl-12.cfg
make/config/cl-impl-20.cfg

index 4a441ad..c8b0c83 100644 (file)
@@ -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
index 380e1de..d446da1 100644 (file)
@@ -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
http://JogAmp.org git info: FAQ, tutorial and man pages.