physfs.h
changeset 770 883940fe64f9
parent 762 63f2585b5a5e
child 772 f64e860ebc2a
--- a/physfs.h	Sun Jan 01 13:03:22 2006 +0000
+++ b/physfs.h	Thu Mar 23 06:49:01 2006 +0000
@@ -166,6 +166,8 @@
 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
 #if (defined _MSC_VER)
 #define __EXPORT__ __declspec(dllexport)
+#elif (defined __GNUC__)
+#define __EXPORT__ __attribute__((visibility("default")))
 #else
 #define __EXPORT__
 #endif