22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 // Note: please do not change these without also changing jni_md.h in the JDK
27 // repository
28 #ifndef __has_attribute
29 #define __has_attribute(x) 0
30 #endif
31 #if (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility)
32 #define JNIEXPORT __attribute__((visibility("default")))
33 #define JNIIMPORT __attribute__((visibility("default")))
34 #else
35 #define JNIEXPORT
36 #define JNIIMPORT
37 #endif
38 #define JNICALL
39
40 typedef int jint;
41
42 #ifdef _LP64
43 typedef long jlong;
44 #else
45 typedef long long jlong;
46 #endif
47
48 typedef signed char jbyte;
|
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 // Note: please do not change these without also changing jni_md.h in the JDK
27 // repository
28 #ifndef __has_attribute
29 #define __has_attribute(x) 0
30 #endif
31 #if (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility)
32 #define JNIEXPORT __attribute__((visibility("default")))
33 #define JNIIMPORT __attribute__((visibility("default")))
34 #else
35 #define JNIEXPORT
36 #define JNIIMPORT
37 #endif
38 #define JNICALL
39
40 typedef int jint;
41
42 typedef long jlong;
43
44 typedef signed char jbyte;
|