diff options
Diffstat (limited to 'Source/cmDynamicLoader.h')
-rw-r--r-- | Source/cmDynamicLoader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDynamicLoader.h b/Source/cmDynamicLoader.h index ac2a88a..89e0c6f 100644 --- a/Source/cmDynamicLoader.h +++ b/Source/cmDynamicLoader.h @@ -33,6 +33,9 @@ #elif defined(_WIN32) #include <windows.h> typedef HMODULE cmLibHandle; +#elif defined(__APPLE__) + #include <mach-o/dyld.h> + typedef NSModule cmLibHandle; #else typedef void* cmLibHandle; #endif |