Patch: FYI: jni.h compatibility
Tom Tromey
tromey@redhat.com
Mon Mar 18 21:50:00 GMT 2002
I'm checking this in on the trunk and branch.
This adds a few compatibility defines to our jni.h.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* include/jni.h (JNIIMPORT): New macro.
(JNIEXPORT): Likewise.
(JNICALL): Likewise.
Index: include/jni.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/jni.h,v
retrieving revision 1.17.2.1
diff -u -r1.17.2.1 jni.h
--- include/jni.h 2002/03/08 21:38:44 1.17.2.1
+++ include/jni.h 2002/03/18 21:51:53
@@ -172,6 +172,12 @@
#define JNI_EDETACHED -2
#define JNI_EVERSION -3
+/* Linkage and calling conventions. This will need updating when we
+ support Windows DLLs. */
+#define JNIIMPORT
+#define JNIEXPORT
+#define JNICALL
+
#ifdef __cplusplus
extern "C"
{
More information about the Java-patches
mailing list