[Freeswitch-svn] [commit] r12919 - in freeswitch/trunk/src: include mod/languages/mod_lua
FreeSWITCH SVN
mikej at freeswitch.org
Mon Apr 6 11:53:43 PDT 2009
Author: mikej
Date: Mon Apr 6 13:53:43 2009
New Revision: 12919
Log:
mod_lua: fix windows build (FSBUILD-149)
Modified:
freeswitch/trunk/src/include/switch_platform.h
freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.h
Modified: freeswitch/trunk/src/include/switch_platform.h
==============================================================================
--- freeswitch/trunk/src/include/switch_platform.h (original)
+++ freeswitch/trunk/src/include/switch_platform.h Mon Apr 6 13:53:43 2009
@@ -148,10 +148,10 @@
#define SWITCH_MOD_DECLARE(type) type __cdecl
#define SWITCH_MOD_DECLARE_DATA
#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)
#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)
#endif
#define SIGHUP SIGTERM
Modified: freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.h
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.h (original)
+++ freeswitch/trunk/src/mod/languages/mod_lua/freeswitch_lua.h Mon Apr 6 13:53:43 2009
@@ -23,7 +23,7 @@
Session(char *uuid, CoreSession *a_leg = NULL);
Session(switch_core_session_t *session);
~Session();
- virtual void destroy(void);
+ SWITCH_MOD_DECLARE(virtual void) destroy(void);
virtual bool begin_allow_threads();
virtual bool end_allow_threads();
More information about the Freeswitch-svn
mailing list