Fixed loader on Mac OS X (bug 4392, r=dvander).

This commit is contained in:
Scott Ehlert 2010-05-14 01:04:17 -05:00
parent 28217f10cb
commit e0169f6696

View File

@ -51,7 +51,11 @@
#define openlib(lib) dlopen(lib, RTLD_NOW)
#define closelib(lib) dlclose(lib)
#define findsym(lib, sym) dlsym(lib, sym)
#if defined __linux__
#define PLATFORM_EXT ".so"
#elif defined __APPLE__
#define PLATFORM_EXT ".dylib"
#endif
typedef void * HINSTANCE;
#define PATH_SEP_CHAR "/"
inline bool IsPathSepChar(char c)