2
0

Fix build on Windows.

This commit is contained in:
Maarten Billemont
2018-08-02 01:32:55 -04:00
parent c94ff429e8
commit 4275a6cc61
3 changed files with 12 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
// TODO: We may need to zero the jbytes safely.
JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved) {
JNIEnv* env;
if ((*vm)->GetEnv( vm, (void **)&env, JNI_VERSION_1_6 ) != JNI_OK)
return -1;