mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
compare library to RTLD_DEFAULT, not zero in JVM_FindLibraryEntry
Although RTLD_DEFAULT is zero on Linux, it's not on OS X.
This commit is contained in:
parent
6a7f651f79
commit
8f06ac402a
@ -2000,7 +2000,7 @@ EXPORT(JVM_FindLibraryEntry)(void* library, const char* name)
|
|||||||
|
|
||||||
ENTER(t, Thread::ActiveState);
|
ENTER(t, Thread::ActiveState);
|
||||||
|
|
||||||
if (library == 0) {
|
if (library == RTLD_DEFAULT) {
|
||||||
library = t->m->libraries;
|
library = t->m->libraries;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user