mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
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:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user