From 02d780ce164cce7adcca69834769947ab58adcac Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 19 Feb 2009 04:41:38 +0000 Subject: [PATCH] fix suncc visibility support in libteletone git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12154 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libteletone/src/libteletone.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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