diff options
Diffstat (limited to 'src/device_info.c')
-rw-r--r-- | src/device_info.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/device_info.c b/src/device_info.c index 28eb89b..ed87bee 100644 --- a/src/device_info.c +++ b/src/device_info.c @@ -18,10 +18,11 @@ #include <stdlib.h> #include <string.h> -#ifdef APPLE -#include <OpenCL/opencl.h> + +#ifdef __APPLE__ +# include <OpenCL/opencl.h> #else -#include "CL/cl.h" +# include <CL/cl.h> #endif // define VERBOSE if you want to print info about work groups sizes |