diff options
author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-13 19:39:50 (GMT) |
---|---|---|
committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-03-13 19:39:50 (GMT) |
commit | 4f9efe7502baba5ce30711888d57d7c211623fe5 (patch) | |
tree | ea2fe49153d54dd2792c53ed5e8174c930656a8c /Source/kwsys/testDynamicLoader.cxx | |
parent | 009b3cbb127109e94ab111fc89f4038016eb0a71 (diff) | |
download | CMake-4f9efe7502baba5ce30711888d57d7c211623fe5.zip CMake-4f9efe7502baba5ce30711888d57d7c211623fe5.tar.gz CMake-4f9efe7502baba5ce30711888d57d7c211623fe5.tar.bz2 |
BUG: Fix problem on MacOSX, by disabling part of the test.
Diffstat (limited to 'Source/kwsys/testDynamicLoader.cxx')
-rw-r--r-- | Source/kwsys/testDynamicLoader.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/kwsys/testDynamicLoader.cxx b/Source/kwsys/testDynamicLoader.cxx index 0eb9be3..b881967 100644 --- a/Source/kwsys/testDynamicLoader.cxx +++ b/Source/kwsys/testDynamicLoader.cxx @@ -68,6 +68,7 @@ int TestDynamicLoader(const char* libname, const char* symbol, int r1, int r2, i << kwsys::DynamicLoader::LastError() << kwsys_ios::endl; return 1; } +#ifndef __APPLE__ int s = kwsys::DynamicLoader::CloseLibrary(l); if( (r3 && !s) || (!r3 && s) ) { @@ -75,6 +76,7 @@ int TestDynamicLoader(const char* libname, const char* symbol, int r1, int r2, i << kwsys::DynamicLoader::LastError() << kwsys_ios::endl; return 1; } +#endif return 0; } |