2 * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
3 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
26 #ifndef _JAVASOFT_JNI_MD_H_
27 #define _JAVASOFT_JNI_MD_H_
29 #ifndef __has_attribute
30 #define __has_attribute(x) 0
32 #if (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2))) || __has_attribute(visibility)
33 #define JNIEXPORT __attribute__((visibility("default")))
34 #define JNIIMPORT __attribute__((visibility("default")))
43 #ifdef _LP64 /* 64-bit Solaris */
46 typedef long long jlong;
49 typedef signed char jbyte;
51 #endif /* !_JAVASOFT_JNI_MD_H_ */