diff --git a/src/native/macosx/macosx_al.c b/src/native/macosx/macosx_al.c index a99f999c..d143ab38 100644 --- a/src/native/macosx/macosx_al.c +++ b/src/native/macosx/macosx_al.c @@ -52,7 +52,7 @@ static const struct mach_header* handleOAL = NULL; static CFBundleRef openal_bundle = NULL; -void *NativeGetFunctionPointer(const char *function) { +void *extal_NativeGetFunctionPointer(const char *function) { void *address = NULL; if (handleOAL != NULL) { char *mac_symbol_name = (char *)malloc((strlen(function) + 2)*sizeof(char)); diff --git a/src/native/macosx/macosx_cl.c b/src/native/macosx/macosx_cl.c index 85797d95..aeca29f8 100644 --- a/src/native/macosx/macosx_cl.c +++ b/src/native/macosx/macosx_cl.c @@ -46,7 +46,7 @@ static const struct mach_header* handleOCL = NULL; static CFBundleRef opencl_bundle = NULL; -void *NativeGetFunctionPointer(const char *function) { +void *extcl_NativeGetFunctionPointer(const char *function) { void *address = NULL; if (handleOCL != NULL) { char *mac_symbol_name = (char *)malloc((strlen(function) + 2)*sizeof(char));