Corrected __EXPORT__ test for Solaris.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 20 Apr 2009 23:48:16 -0400
changeset 994 4413637bdcf2
parent 993 e8ba2577ac1f
child 995 de210c7e2b09
Corrected __EXPORT__ test for Solaris.
src/physfs.h
--- a/src/physfs.h	Mon Apr 20 23:43:36 2009 -0400
+++ b/src/physfs.h	Mon Apr 20 23:48:16 2009 -0400
@@ -221,7 +221,7 @@
 #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__