< prev index next >
src/jdk.crypto.ucrypto/solaris/native/libj2ucrypto/nativeCrypto.c
Print this page
rev 12879 : 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
@@ -25,10 +25,11 @@
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <jni.h>
+#include "jni_util.h"
#include <libsoftcrypto.h>
#include "nativeCrypto.h"
#include "nativeFunc.h"
/*
@@ -57,11 +58,11 @@
}
/* free the local ref */
(*env)->DeleteLocalRef(env, jExClass);
}
-JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) {
+JNIEXPORT jint JNICALL DEF_JNI_OnLoad(JavaVM *vm, void *reserved) {
return JNI_VERSION_1_4;
}
/*
* Class: com_oracle_security_ucrypto_UcryptoProvider
< prev index next >