equal
deleted
inserted
replaced
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) |
29 #if defined(SOLARIS) || defined(LINUX) |
|
30 |
|
31 #if defined(__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2) |
|
32 #define JNIEXPORT __attribute__((visibility("default"))) |
|
33 #define JNIIMPORT __attribute__((visibility("default"))) |
|
34 #else |
30 #define JNIEXPORT |
35 #define JNIEXPORT |
31 #define JNIIMPORT |
36 #define JNIIMPORT |
|
37 #endif |
|
38 |
32 #define JNICALL |
39 #define JNICALL |
33 |
|
34 typedef int jint; |
40 typedef int jint; |
35 |
41 |
36 #ifdef _LP64 |
42 #ifdef _LP64 |
37 typedef long jlong; |
43 typedef long jlong; |
38 #else |
44 #else |