From Bob Kuehne, fixes for OSX 10.4 build.

This commit is contained in:
Robert Osfield
2005-05-03 14:31:01 +00:00
parent 003329fd10
commit 2bb2d9bb37
7 changed files with 15 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ DynamicLibrary::~DynamicLibrary()
#if defined(WIN32) && !defined(__CYGWIN__)
FreeLibrary((HMODULE)_handle);
#elif defined(__APPLE__)
NSUnLinkModule(_handle, FALSE);
NSUnLinkModule(static_cast<__NSModule*>(_handle), FALSE);
#elif defined(__hpux__)
// fortunately, shl_t is a pointer
shl_unload (static_cast<shl_t>(_handle));