This commit is contained in:
IoIxD 2026-01-09 14:43:44 -07:00
commit 2d3bd9213e
13 changed files with 416 additions and 83 deletions

View file

@ -12,7 +12,7 @@ void* MwDynamicSymbol(void* handle, const char* symbol) {
void MwDynamicClose(void* handle) {
FreeLibrary(handle);
}
#elif defined(__unix__)
#elif defined(__unix__) || defined(__APPLE__)
void* MwDynamicOpen(const char* path) {
return dlopen(path, RTLD_LOCAL | RTLD_LAZY);
}