2
0

Added some missing build files.

This commit is contained in:
Maarten Billemont
2018-06-17 01:48:36 -04:00
parent ada1c7f6ae
commit b6e6dce9f0
4 changed files with 33 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
JNIEnv* env;
if (vm->GetEnv(&env, JNI_VERSION_1_6) != JNI_OK)
if ((*vm)->GetEnv( vm, (void **)&env, JNI_VERSION_1_6 ) != JNI_OK)
return -1;
return JNI_VERSION_1_6;