From 9154a2dd7f13dc9c393ce2f92514a2e7fbef17e4 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 12 Oct 2007 23:34:30 +0000 Subject: [PATCH] add missing ifdef but we cant leave this here git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5861 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/softtimer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/softtimer.c b/src/softtimer.c index cb09441d69..0444555535 100644 --- a/src/softtimer.c +++ b/src/softtimer.c @@ -48,8 +48,10 @@ static struct { switch_mutex_t *mutex; } globals; +#ifdef WIN32 #undef SWITCH_MOD_DECLARE_DATA #define SWITCH_MOD_DECLARE_DATA __declspec(dllexport) +#endif SWITCH_MODULE_LOAD_FUNCTION(softtimer_load); SWITCH_MODULE_SHUTDOWN_FUNCTION(softtimer_shutdown);