Hi,
I committed the attached patch to make it compile (and work) on
platforms where JNIEXPORT and JNICALL actually mean something.
Regards,
Jeroen
2006-10-17 Jeroen Frijters <[EMAIL PROTECTED]>
* native/jni/classpath/jcl.c
(JNI_OnLoad): Corrected calling convention.
Index: native/jni/classpath/jcl.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/classpath/jcl.c,v
retrieving revision 1.26
diff -u -r1.26 jcl.c
--- native/jni/classpath/jcl.c 27 Sep 2006 16:11:30 -0000 1.26
+++ native/jni/classpath/jcl.c 17 Oct 2006 14:09:06 -0000
@@ -58,7 +58,7 @@
/*
* JNI OnLoad constructor.
*/
-jint
+JNIEXPORT jint JNICALL
JNI_OnLoad (JavaVM *vm, void *reserved __attribute__((unused)))
{
JNIEnv *env;