From 673501ae057c09244ab857b349944d40839a7425 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 18 Feb 2008 15:43:54 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.openzap.org/svn/openzap/trunk@398 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/freetdm/mod_openzap/mod_openzap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/freetdm/mod_openzap/mod_openzap.c b/libs/freetdm/mod_openzap/mod_openzap.c index db9cb1ee4e..b3d36bd6ef 100644 --- a/libs/freetdm/mod_openzap/mod_openzap.c +++ b/libs/freetdm/mod_openzap/mod_openzap.c @@ -34,6 +34,10 @@ #include "zap_analog.h" #include "zap_isdn.h" +#ifndef __FUNCTION__ +#define __FUNCTION__ __SWITCH_FUNC__ +#endif + SWITCH_MODULE_LOAD_FUNCTION(mod_openzap_load); SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_openzap_shutdown); SWITCH_MODULE_DEFINITION(mod_openzap, mod_openzap_load, mod_openzap_shutdown, NULL);