diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-28 00:07:49 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-28 00:10:54 +0200 |
commit | 44abf1ea66fbf0ee3f3b5195c6af6b631d633cba (patch) | |
tree | 161a0a5df5e1822bf043b553457938a651786e9d /jvmaccess | |
parent | 1a041ea2bfa639e0ee422a81f1be8e088f4c2fc9 (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.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/jvmaccess/inc/jvmaccess/virtualmachine.hxx b/jvmaccess/inc/jvmaccess/virtualmachine.hxx index 275568d2612e..3bffbc834f90 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 |