mod_lua: fix windows build (FSBUILD-149)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12919 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e2adbe9fae
commit
571e7cb8c1
|
@ -148,10 +148,10 @@ typedef int gid_t;
|
||||||
#define SWITCH_MOD_DECLARE(type) type __cdecl
|
#define SWITCH_MOD_DECLARE(type) type __cdecl
|
||||||
#define SWITCH_MOD_DECLARE_DATA
|
#define SWITCH_MOD_DECLARE_DATA
|
||||||
#elif defined(MOD_EXPORTS)
|
#elif defined(MOD_EXPORTS)
|
||||||
#define SWITCH_MOD_DECLARE(type) __declspec(dllexport) type __cdecl
|
#define SWITCH_MOD_DECLARE(type) __declspec(dllexport) type __stdcall
|
||||||
#define SWITCH_MOD_DECLARE_DATA __declspec(dllexport)
|
#define SWITCH_MOD_DECLARE_DATA __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define SWITCH_MOD_DECLARE(type) __declspec(dllimport) type __cdecl
|
#define SWITCH_MOD_DECLARE(type) __declspec(dllimport) type __stdcall
|
||||||
#define SWITCH_MOD_DECLARE_DATA __declspec(dllimport)
|
#define SWITCH_MOD_DECLARE_DATA __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
#define SIGHUP SIGTERM
|
#define SIGHUP SIGTERM
|
||||||
|
|
|
@ -23,7 +23,7 @@ class Session : public CoreSession {
|
||||||
Session(char *uuid, CoreSession *a_leg = NULL);
|
Session(char *uuid, CoreSession *a_leg = NULL);
|
||||||
Session(switch_core_session_t *session);
|
Session(switch_core_session_t *session);
|
||||||
~Session();
|
~Session();
|
||||||
virtual void destroy(void);
|
SWITCH_MOD_DECLARE(virtual void) destroy(void);
|
||||||
|
|
||||||
virtual bool begin_allow_threads();
|
virtual bool begin_allow_threads();
|
||||||
virtual bool end_allow_threads();
|
virtual bool end_allow_threads();
|
||||||
|
|
Loading…
Reference in New Issue