1 #ifndef _JAVASOFT_JNI_MD_H_
2 #define _JAVASOFT_JNI_MD_H_
8 typedef signed char jbyte
;
11 #define JNIEXPORT __declspec(dllexport)
12 #define JNIIMPORT __declspec(dllimport)
13 #define JNICALL __stdcall
17 #define JNIEXPORT __attribute__((visibility("default")))
23 #ifndef __has_attribute
24 #define __has_attribute(x) 0
27 #if (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility)
28 #define JNIEXPORT __attribute__((visibility("default")))
29 #define JNIIMPORT __attribute__((visibility("default")))
38 #endif // _JAVASOFT_JNI_MD_H_