Corrected __EXPORT__ test for Solaris.

This commit is contained in:
Ryan C. Gordon 2009-04-20 23:48:16 -04:00
parent 652f0ec03c
commit cedcd95541
1 changed files with 1 additions and 1 deletions

View File

@ -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__