mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
visibility tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12065 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -162,6 +162,7 @@ typedef int gid_t;
|
||||
#define S_IWUSR _S_IWRITE
|
||||
#endif
|
||||
#define SWITCH_THREAD_FUNC __stdcall
|
||||
#define SWITCH_DECLARE_CLASS
|
||||
#else //not win32
|
||||
#define O_BINARY 0
|
||||
#if (defined(__GNUC__) || defined(__SUNCC__)) && defined(SWITCH_API_VISIBILITY)
|
||||
@@ -170,12 +171,14 @@ typedef int gid_t;
|
||||
#define SWITCH_DECLARE_DATA __attribute__((visibility("default")))
|
||||
#define SWITCH_MOD_DECLARE(type) __attribute__((visibility("default"))) type
|
||||
#define SWITCH_MOD_DECLARE_DATA __attribute__((visibility("default")))
|
||||
#define SWITCH_DECLARE_CLASS __attribute__((visibility("default")))
|
||||
#else
|
||||
#define SWITCH_DECLARE(type) type
|
||||
#define SWITCH_DECLARE_NONSTD(type) type
|
||||
#define SWITCH_DECLARE_DATA
|
||||
#define SWITCH_MOD_DECLARE(type) type
|
||||
#define SWITCH_MOD_DECLARE_DATA
|
||||
#define SWITCH_DECLARE_CLASS
|
||||
#endif
|
||||
#define SWITCH_THREAD_FUNC
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user