src/cpu/x86/vm/jni_x86.h

changeset 3156
f08d439fab8c
parent 2708
1d1603768966
child 3202
436b4a3231bf
     1.1 --- a/src/cpu/x86/vm/jni_x86.h	Tue Sep 20 23:50:16 2011 -0700
     1.2 +++ b/src/cpu/x86/vm/jni_x86.h	Sun Sep 25 16:03:29 2011 -0700
     1.3 @@ -26,7 +26,7 @@
     1.4  #ifndef _JAVASOFT_JNI_MD_H_
     1.5  #define _JAVASOFT_JNI_MD_H_
     1.6  
     1.7 -#if defined(SOLARIS) || defined(LINUX)
     1.8 +#if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE)
     1.9  
    1.10  #if defined(__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2)
    1.11    #define JNIEXPORT     __attribute__((visibility("default")))

mercurial