hotspot/src/cpu/zero/vm/jni_zero.h
changeset 8106 19106a0203fb
parent 7397 5b173b4ca846
child 8921 14bfe81f2a9d
equal deleted inserted replaced
8076:96d498ec7ae1 8106:19106a0203fb
    22  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    23  * or visit www.oracle.com if you need additional information or have any
    23  * or visit www.oracle.com if you need additional information or have any
    24  * questions.
    24  * questions.
    25  */
    25  */
    26 
    26 
    27 #define JNIEXPORT
    27 
    28 #define JNIIMPORT
    28 #if defined(__GNUC__) && (__GNUC__ >= 4)
       
    29   #define JNIEXPORT     __attribute__((visibility("default")))
       
    30   #define JNIIMPORT     __attribute__((visibility("default")))
       
    31 #else
       
    32   #define JNIEXPORT
       
    33   #define JNIIMPORT
       
    34 #endif
    29 #define JNICALL
    35 #define JNICALL
    30 
    36 
    31 typedef int jint;
    37 typedef int jint;
    32 typedef signed char jbyte;
    38 typedef signed char jbyte;
    33 
    39