Explorar o código

Apparently the visibility attribute only exists in gcc3 and up.

Ryan C. Gordon %!s(int64=20) %!d(string=hai) anos
pai
achega
cbf1dc67f3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      physfs.h

+ 1 - 1
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__