diff options
author | eschnett <eschnett@4054007a-4839-4648-a056-eb81e030d849> | 2012-05-05 13:33:41 +0000 |
---|---|---|
committer | eschnett <eschnett@4054007a-4839-4648-a056-eb81e030d849> | 2012-05-05 13:33:41 +0000 |
commit | a8df43d43b3a929dced4015331d460de7b30cf9a (patch) | |
tree | ae77cb5aa1a5b0738a63d24981b6937e23ef382e /src/device_info.c | |
parent | 5d416ddef4f3fef78d7aaad9d8de7f2ce23627f8 (diff) |
Update include files
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/OpenCL/trunk@8 4054007a-4839-4648-a056-eb81e030d849
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 |