aboutsummaryrefslogtreecommitdiff
path: root/java/cacao/files/patch-src-native-jni.h
diff options
context:
space:
mode:
Diffstat (limited to 'java/cacao/files/patch-src-native-jni.h')
-rw-r--r--java/cacao/files/patch-src-native-jni.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/java/cacao/files/patch-src-native-jni.h b/java/cacao/files/patch-src-native-jni.h
new file mode 100644
index 000000000000..048fa5709b0c
--- /dev/null
+++ b/java/cacao/files/patch-src-native-jni.h
@@ -0,0 +1,16 @@
+--- src/native/jni.h.orig 2007-04-02 13:23:24.000000000 +0200
++++ src/native/jni.h 2009-01-15 20:32:31.000000000 +0100
+@@ -45,10 +45,12 @@
+
+ #include CLASSPATH_JNI_H
+
+-
+ #ifndef _JNI_H
+ #define _JNI_H
+
++#define JNINativeInterface JNINativeInterface_
++#define JNIInvokeInterface JNIInvokeInterface_
++
+ /* forward typedefs ***********************************************************/
+
+ typedef struct localref_table localref_table;