Fixed loader on Mac OS X (bug 4392, r=dvander).
This commit is contained in:
parent
28217f10cb
commit
e0169f6696
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user