mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
fix gnu build
This commit is contained in:
parent
4169425307
commit
be1ba2ccf8
@ -1952,9 +1952,15 @@ populateJNITables(JavaVMVTable* vmTable, JNIEnvVTable* envTable)
|
|||||||
envTable->FindClass = local::FindClass;
|
envTable->FindClass = local::FindClass;
|
||||||
envTable->ThrowNew = local::ThrowNew;
|
envTable->ThrowNew = local::ThrowNew;
|
||||||
envTable->ExceptionCheck = local::ExceptionCheck;
|
envTable->ExceptionCheck = local::ExceptionCheck;
|
||||||
|
#ifdef AVIAN_GNU
|
||||||
|
envTable->NewDirectByteBuffer = vm::NewDirectByteBuffer;
|
||||||
|
envTable->GetDirectBufferAddress = vm::GetDirectBufferAddress;
|
||||||
|
envTable->GetDirectBufferCapacity = vm::GetDirectBufferCapacity;
|
||||||
|
#else
|
||||||
envTable->NewDirectByteBuffer = local::NewDirectByteBuffer;
|
envTable->NewDirectByteBuffer = local::NewDirectByteBuffer;
|
||||||
envTable->GetDirectBufferAddress = local::GetDirectBufferAddress;
|
envTable->GetDirectBufferAddress = local::GetDirectBufferAddress;
|
||||||
envTable->GetDirectBufferCapacity = local::GetDirectBufferCapacity;
|
envTable->GetDirectBufferCapacity = local::GetDirectBufferCapacity;
|
||||||
|
#endif
|
||||||
envTable->DeleteLocalRef = local::DeleteLocalRef;
|
envTable->DeleteLocalRef = local::DeleteLocalRef;
|
||||||
envTable->GetObjectClass = local::GetObjectClass;
|
envTable->GetObjectClass = local::GetObjectClass;
|
||||||
envTable->IsInstanceOf = local::IsInstanceOf;
|
envTable->IsInstanceOf = local::IsInstanceOf;
|
||||||
|
Loading…
Reference in New Issue
Block a user