From 17b96b492cf43e9eb91d16d9efeaa63f524980a4 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 27 Jun 2008 16:36:09 +0000 Subject: [PATCH] keep sofia from re-setting __func__ git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8858 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.h b/src/mod/endpoints/mod_sofia/mod_sofia.h index 2d9a738b2d..b35a802aaf 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.h +++ b/src/mod/endpoints/mod_sofia/mod_sofia.h @@ -47,6 +47,11 @@ #endif #define SOFIA_NAT_SESSION_TIMEOUT 20 #define SOFIA_MAX_ACL 100 +#ifdef _MSC_VER +#define HAVE_FUNCTION 1 +#else +#define HAVE_FUNC 1 +#endif #define MODNAME "mod_sofia" static const switch_state_handler_table_t noop_state_handler = { 0 };