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 #ifdef SOLAR_JAVA
#include "jni.h" #include "jni.h"
#else #else
struct JNIEnv; struct JNIEnv_;
struct JavaVM; typedef JNIEnv_ JNIEnv;
struct JavaVM_;
typedef JavaVM_ JavaVM;
typedef int jint; typedef int jint;
typedef void * jobject; typedef void * jobject;
#endif #endif