]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add missing ifdef but we cant leave this here
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 Oct 2007 23:34:30 +0000 (23:34 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 Oct 2007 23:34:30 +0000 (23:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5861 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/softtimer.c

index cb09441d69408e162eaea70c9aa59eda19e6fe0e..0444555535b2364cc407c281f580a9480e58ace5 100644 (file)
@@ -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);