API visibility support (GCC/SUNCC) (FSCORE-264)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12061 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2009-02-16 18:17:01 +00:00
1 parent 104c99ea85
commit ffe2ad4bbd
6 files changed
+175 -15

No files matched your search

+6
View File
@@ -110,6 +110,12 @@ typedef __int16 int16_t;
#define teletone_assert(expr) assert(expr)
#endif
#if (defined(__GNUC__) || defined(__SUNCC__)) && defined(HAVE_VISIBILITY)
#define TELETONE_API __attribute__((visibility("default")))
#else
#define TELETONE_API
#endif
#include <libteletone_generate.h>
#include <libteletone_detect.h>