From: Michael Jerris Date: Thu, 19 Feb 2009 04:41:38 +0000 (+0000) Subject: fix suncc visibility support in libteletone X-Git-Tag: v1.0.3~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02d780ce164cce7adcca69834769947ab58adcac;p=thirdparty%2Ffreeswitch.git fix suncc visibility support in libteletone git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12154 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/libteletone/src/libteletone.h b/libs/libteletone/src/libteletone.h index 24685e2f2d..aa5f840a04 100644 --- a/libs/libteletone/src/libteletone.h +++ b/libs/libteletone/src/libteletone.h @@ -110,7 +110,7 @@ typedef __int16 int16_t; #define teletone_assert(expr) assert(expr) #endif -#if (defined(__GNUC__) || defined(__SUNCC__)) && defined(HAVE_VISIBILITY) +#if (defined(__GNUC__) || defined(__SUNPRO_CC) || defined (__SUNPRO_C)) && defined(HAVE_VISIBILITY) #define TELETONE_API __attribute__((visibility("default"))) #else #define TELETONE_API