* Solaris patch from Vincent S. Cojot

This commit is contained in:
Tim Angus committed 2005-12-06 19:03:39 +00:00
1 parent 9415f5fe09
commit 2499d9b0f5
2 files changed
+11 -10

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define SYMLOAD(x,y) GetProcAddress(x,y)
#define OBJFREE(x) FreeLibrary(x)
#elif defined __linux__ || defined __FreeBSD__ || defined MACOS_X
#elif defined __linux__ || defined __FreeBSD__ || defined MACOS_X || defined __sun
#include <dlfcn.h>
#define OBJTYPE void *
#define OBJLOAD(x) dlopen(x, RTLD_LAZY | RTLD_GLOBAL)