mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
a little more header juggling.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@239 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -46,25 +46,25 @@ extern "C" {
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(SWITCH_CORE_DECLARE_STATIC)
|
||||
#define SWITCH_DECLARE(type) type __stdcall
|
||||
#define SWITCH_DECLARE_NONSTD(type) type __cdecl
|
||||
#define SWITCH_DECLARE(type) type __stdcall
|
||||
#define SWITCH_DECLARE_NONSTD(type) type __cdecl
|
||||
#define SWITCH_DECLARE_DATA
|
||||
#elif defined(FREESWITCHCORE_EXPORTS)
|
||||
#define SWITCH_DECLARE(type) __declspec(dllexport) type __stdcall
|
||||
#define SWITCH_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl
|
||||
#define SWITCH_DECLARE_DATA __declspec(dllexport)
|
||||
#define SWITCH_DECLARE(type) __declspec(dllexport) type __stdcall
|
||||
#define SWITCH_DECLARE_NONSTD(type) __declspec(dllexport) type __cdecl
|
||||
#define SWITCH_DECLARE_DATA __declspec(dllexport)
|
||||
#else
|
||||
#define SWITCH_DECLARE(type) __declspec(dllimport) type __stdcall
|
||||
#define SWITCH_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl
|
||||
#define SWITCH_DECLARE_DATA __declspec(dllimport)
|
||||
#define SWITCH_DECLARE(type) __declspec(dllimport) type __stdcall
|
||||
#define SWITCH_DECLARE_NONSTD(type) __declspec(dllimport) type __cdecl
|
||||
#define SWITCH_DECLARE_DATA __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
#if defined(SWITCH_MOD_DECLARE_STATIC)
|
||||
#define SWITCH_MOD_DECLARE(type) type __cdecl
|
||||
#define SWITCH_MOD_DECLARE(type) type __cdecl
|
||||
#elif defined(MOD_EXPORTS)
|
||||
#define SWITCH_MOD_DECLARE(type) __declspec(dllexport) type __cdecl
|
||||
#define SWITCH_MOD_DECLARE(type) __declspec(dllexport) type __cdecl
|
||||
#else
|
||||
#define SWITCH_MOD_DECLARE(type) __declspec(dllimport) type __cdecl
|
||||
#define SWITCH_MOD_DECLARE(type) __declspec(dllimport) type __cdecl
|
||||
#endif
|
||||
#else //not win32
|
||||
#define SWITCH_DECLARE(type) type
|
||||
|
||||
Reference in New Issue
Block a user