cross-platform define update

This commit is contained in:
2019-12-10 14:38:29 +08:00
parent 2d8da351ba
commit 1bfb503e13
6 changed files with 25 additions and 14 deletions

View File

@@ -50,7 +50,7 @@ inline T *hgl_aligned_malloc(size_t n)
}
#define OS_EXTERNAL_H <dlfcn.h>
typedef void * ExternalModulePointer;
using ExternalModulePointer =void *;
#define pi_get dlsym
#define pi_close dlclose