equal
deleted
inserted
replaced
24 */ |
24 */ |
25 |
25 |
26 #ifndef _JAVASOFT_JNI_MD_H_ |
26 #ifndef _JAVASOFT_JNI_MD_H_ |
27 #define _JAVASOFT_JNI_MD_H_ |
27 #define _JAVASOFT_JNI_MD_H_ |
28 |
28 |
29 #if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE) |
29 #if defined(_WIN32) |
|
30 #define JNIEXPORT __declspec(dllexport) |
|
31 #define JNIIMPORT __declspec(dllimport) |
|
32 #define JNICALL __stdcall |
30 |
33 |
|
34 typedef int jint; |
|
35 typedef __int64 jlong; |
|
36 #else |
31 |
37 |
32 // Note: please do not change these without also changing jni_md.h in the JDK |
38 // Note: please do not change these without also changing jni_md.h in the JDK |
33 // repository |
39 // repository |
34 #ifndef __has_attribute |
40 #ifndef __has_attribute |
35 #define __has_attribute(x) 0 |
41 #define __has_attribute(x) 0 |
48 typedef long jlong; |
54 typedef long jlong; |
49 #else |
55 #else |
50 typedef long long jlong; |
56 typedef long long jlong; |
51 #endif |
57 #endif |
52 |
58 |
53 #else |
|
54 #define JNIEXPORT __declspec(dllexport) |
|
55 #define JNIIMPORT __declspec(dllimport) |
|
56 #define JNICALL __stdcall |
|
57 |
|
58 typedef int jint; |
|
59 typedef __int64 jlong; |
|
60 #endif |
59 #endif |
61 |
60 |
62 typedef signed char jbyte; |
61 typedef signed char jbyte; |
63 |
62 |
64 #endif /* !_JAVASOFT_JNI_MD_H_ */ |
63 #endif /* !_JAVASOFT_JNI_MD_H_ */ |