diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-11-29 17:56:28 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-11-29 17:56:28 (GMT) |
commit | 965a1475b64d7db1466f8312db8938b158b0cfe3 (patch) | |
tree | ec099190d24c50c3264bd788c065baabda06c10e /Source/kwsys/DynamicLoader.hxx.in | |
parent | daa6d2bc04ff8631559ffcb5141f197cac33e755 (diff) | |
download | CMake-965a1475b64d7db1466f8312db8938b158b0cfe3.zip CMake-965a1475b64d7db1466f8312db8938b158b0cfe3.tar.gz CMake-965a1475b64d7db1466f8312db8938b158b0cfe3.tar.bz2 |
BUG: Fix problem with loading dylib on Tiger (10.4) x86. We need to be using the dlopen/dlclose instead of the old NSModule
Diffstat (limited to 'Source/kwsys/DynamicLoader.hxx.in')
-rw-r--r-- | Source/kwsys/DynamicLoader.hxx.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/DynamicLoader.hxx.in b/Source/kwsys/DynamicLoader.hxx.in index 5d3d048..ca1aa70 100644 --- a/Source/kwsys/DynamicLoader.hxx.in +++ b/Source/kwsys/DynamicLoader.hxx.in @@ -22,7 +22,7 @@ #include <windows.h> #elif defined(__APPLE__) #include <AvailabilityMacros.h> - #if MAC_OS_X_VERSION_MIN_REQUIRED < 1030 + #if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 #include <mach-o/dyld.h> #endif #endif @@ -57,7 +57,7 @@ public: #elif defined(_WIN32) typedef HMODULE LibraryHandle; #elif defined(__APPLE__) - #if MAC_OS_X_VERSION_MIN_REQUIRED < 1030 + #if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 typedef NSModule LibraryHandle; #else typedef void* LibraryHandle; |