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