summaryrefslogtreecommitdiffstats
path: root/libjava/include
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-18 21:55:42 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-18 21:55:42 +0000
commita6d713d5af7ccd092c825fcc485af74cd00e2beb (patch)
treee0acbf02187974a24c0374b57a4cb4a709ce82be /libjava/include
parentacf7a6bc5621e9fd8ce680d398ca2c632a929cbb (diff)
downloadppe42-gcc-a6d713d5af7ccd092c825fcc485af74cd00e2beb.tar.gz
ppe42-gcc-a6d713d5af7ccd092c825fcc485af74cd00e2beb.zip
* include/jni.h (JNIIMPORT): New macro.
(JNIEXPORT): Likewise. (JNICALL): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51009 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/jni.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/include/jni.h b/libjava/include/jni.h
index d41a6a2d234..5510079b8a1 100644
--- a/libjava/include/jni.h
+++ b/libjava/include/jni.h
@@ -172,6 +172,12 @@ typedef void *jmethodID;
#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"
{
OpenPOWER on IntegriCloud