diff --git a/src/physfs.h b/src/physfs.h index 8af4d3a..2b25389 100644 --- a/src/physfs.h +++ b/src/physfs.h @@ -221,7 +221,7 @@ extern "C" { #define __EXPORT__ __declspec(dllexport) #elif (defined __SUNPRO_C) #define __EXPORT__ __global -#elif ((__GNUC__ >= 3) && (!__EMX__)) +#elif ((__GNUC__ >= 3) && (!__EMX__) && (!sun)) #define __EXPORT__ __attribute__((visibility("default"))) #else #define __EXPORT__