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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user