From 14445572731ea14892f697277f885b471e826492 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 23 Mar 2006 10:15:29 +0000 Subject: [PATCH] Apparently the visibility attribute only exists in gcc3 and up. --- physfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/physfs.h b/physfs.h index 9ea5220..8af37d7 100644 --- a/physfs.h +++ b/physfs.h @@ -166,7 +166,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__