1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#define _JNI_IMPORT_OR_EXPORT_ #define JNIEXPORT #define JNIIMPORT #define JNICALL typedef long jint; #ifdef _LP64 /* 64-bit Solaris */ typedef long jlong; #else typedef long long jlong; #endif typedef signed char jbyte; typedef long JNIEnv;