From: Anthony Minessale Date: Fri, 12 Oct 2007 23:34:30 +0000 (+0000) Subject: add missing ifdef but we cant leave this here X-Git-Tag: v1.0-beta2~505 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9154a2dd7f13dc9c393ce2f92514a2e7fbef17e4;p=thirdparty%2Ffreeswitch.git 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 --- 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);