< prev index next >

src/java.base/share/native/libnio/nio_util.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

*** 26,36 **** #include "jni.h" #include "jvm.h" #include "jni_util.h" JNIEXPORT jint JNICALL ! JNI_OnLoad(JavaVM *vm, void *reserved) { JNIEnv *env; if ((*vm)->GetEnv(vm, (void**) &env, JNI_VERSION_1_2) != JNI_OK) { return JNI_EVERSION; /* JNI version not supported */ --- 26,36 ---- #include "jni.h" #include "jvm.h" #include "jni_util.h" JNIEXPORT jint JNICALL ! DEF_JNI_OnLoad(JavaVM *vm, void *reserved) { JNIEnv *env; if ((*vm)->GetEnv(vm, (void**) &env, JNI_VERSION_1_2) != JNI_OK) { return JNI_EVERSION; /* JNI version not supported */
< prev index next >