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.
This commit is contained in:
Tor Lillqvist
2011-01-28 00:07:49 +02:00
parent 1a041ea2bf
commit 44abf1ea66

View File

@@ -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