summaryrefslogtreecommitdiff
path: root/jvmaccess
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-01-28 00:07:49 +0200
committerTor Lillqvist <tlillqvist@novell.com>2011-01-28 00:10:54 +0200
commit6c405a4ebaa28137be7156ce02f0d9638adf1dd1 (patch)
tree976bccfc294dbfe4572d2f87bdb8849d9f13e990 /jvmaccess
parent17b7ca8f23c25e1e276485642fc4dbf486550620 (diff)
Need to use exactly the same names as in the JDK in the non-SOLAR_JAVA case
Use struct JNIEnv_ and struct JavaVM_, with underscores. Otherwise a mangled name in the map files won't match.
Diffstat (limited to 'jvmaccess')
-rw-r--r--jvmaccess/inc/jvmaccess/virtualmachine.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/jvmaccess/inc/jvmaccess/virtualmachine.hxx b/jvmaccess/inc/jvmaccess/virtualmachine.hxx
index e352badfd..709793236 100644
--- a/jvmaccess/inc/jvmaccess/virtualmachine.hxx
+++ b/jvmaccess/inc/jvmaccess/virtualmachine.hxx
@@ -35,8 +35,10 @@
#ifdef SOLAR_JAVA
#include "jni.h"
#else
-struct JNIEnv;
-struct JavaVM;
+struct JNIEnv_;
+typedef JNIEnv_ JNIEnv;
+struct JavaVM_;
+typedef JavaVM_ JavaVM;
typedef int jint;
typedef void * jobject;
#endif