diff --git a/physfs.h b/physfs.h index 17ea4bb..a7436b7 100644 --- a/physfs.h +++ b/physfs.h @@ -153,7 +153,7 @@ extern "C" { #ifndef DOXYGEN_SHOULD_IGNORE_THIS #if (defined _MSC_VER) #define __EXPORT__ __declspec(dllexport) -#elif (defined __GNUC__) +#elif (__GNUC__ >= 3) #define __EXPORT__ __attribute__((visibility("default"))) #else #define __EXPORT__