fix Mac OSX build (and remove 'weak link' warning)
This commit is contained in:
1 parent
94db38358c
commit
146bbefc03
4 files changed
+7
-35
No files matched your search
+1
-1
@@ -73,7 +73,7 @@ extern "C" {
|
||||
#define CL_CALLBACK
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#ifdef __APPLE1__
|
||||
#define CL_EXTENSION_WEAK_LINK __attribute__((weak_import))
|
||||
#define CL_API_SUFFIX__VERSION_1_0 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
|
||||
#define CL_EXT_SUFFIX__VERSION_1_0 CL_EXTENSION_WEAK_LINK AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
|
||||
|
||||
Reference in new issue
Block a user