mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-11 16:45:48 -04:00
Fix compilation issues
This commit is contained in:
parent
4b0ec476e3
commit
62caadf4c3
@ -76,6 +76,9 @@ cc_bool Platform_ReadonlyFilesystem;
|
|||||||
/* Really old mac OS versions don't have the dlopen/dlsym API */
|
/* Really old mac OS versions don't have the dlopen/dlsym API */
|
||||||
#define USE_NS_DYNLOAD_API
|
#define USE_NS_DYNLOAD_API
|
||||||
#else
|
#else
|
||||||
|
#ifndef __USE_GNU
|
||||||
|
#define __USE_GNU
|
||||||
|
#endif
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1246,7 +1249,7 @@ cc_result Updater_SetNewBuildTime(cc_uint64 timestamp) {
|
|||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*-------------------------------------------------------Dynamic lib-------------------------------------------------------*
|
*-------------------------------------------------------Dynamic lib-------------------------------------------------------*
|
||||||
*#########################################################################################################################*/
|
*#########################################################################################################################*/
|
||||||
#if USE_NS_DYNLOAD_API
|
#if defined USE_NS_DYNLOAD_API
|
||||||
/* Really old mac OS versions don't have the dlopen/dlsym API */
|
/* Really old mac OS versions don't have the dlopen/dlsym API */
|
||||||
const cc_string DynamicLib_Ext = String_FromConst(".dylib");
|
const cc_string DynamicLib_Ext = String_FromConst(".dylib");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user