changeset 10565 | dc90c239f4ec |
parent 8921 | 14bfe81f2a9d |
child 10739 | 91935236600e |
--- a/hotspot/src/cpu/x86/vm/jni_x86.h Tue Sep 20 23:50:16 2011 -0700 +++ b/hotspot/src/cpu/x86/vm/jni_x86.h Sun Sep 25 16:03:29 2011 -0700 @@ -26,7 +26,7 @@ #ifndef _JAVASOFT_JNI_MD_H_ #define _JAVASOFT_JNI_MD_H_ -#if defined(SOLARIS) || defined(LINUX) +#if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE) #if defined(__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4) && (__GNUC_MINOR__ > 2) #define JNIEXPORT __attribute__((visibility("default")))