From cedcd95541d263472872e097a4fea0ca04516891 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 20 Apr 2009 23:48:16 -0400 Subject: [PATCH] Corrected __EXPORT__ test for Solaris. --- src/physfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/physfs.h b/src/physfs.h index 8af4d3a1..2b253890 100644 --- a/src/physfs.h +++ b/src/physfs.h @@ -221,7 +221,7 @@ extern "C" { #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__