ftello64 -> ftell and fopen64 -> fopen (to make Mac OSX happy)
disable some warning (no idea why weak_link is there)
This commit is contained in:
@@ -72,8 +72,9 @@ extern "C" {
|
||||
#define CL_API_CALL
|
||||
#define CL_CALLBACK
|
||||
#endif
|
||||
//disabled the APPLE thing, don't know why it is there, is just causes tons of warnings
|
||||
|
||||
#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