]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@93 d0543943-73ff-0310...
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 7 Dec 2005 19:28:27 +0000 (19:28 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 7 Dec 2005 19:28:27 +0000 (19:28 +0000)
src/mod/mod_iaxchan/mod_iaxchan.c

index 9932a38267b868bc77807f8c027dc6ef25952e2b..b2a598f6400f4f8d39beadb7d994fe2b22f32c05 100644 (file)
@@ -87,19 +87,6 @@ struct private_object {
        switch_thread_cond_t *cond;
 };
 
-#ifdef WIN32
-#include <Mmsystem.h>
-\r
-int gettimeofday(struct timeval *tp, void *tz)\r
-{\r
-       DWORD now;\r
-       now = timeGetTime();\r
-       tp->tv_sec = now / 1000;\r
-       tp->tv_usec =  (now % 1000) * 1000;\r
-       return 0;\r
-}\r
-
-#endif
 static void set_global_dialplan(char *dialplan)
 {
        if (globals.dialplan) {
@@ -724,10 +711,6 @@ static const switch_loadable_module_interface channel_module_interface = {
 
 
 SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface) {
-\r
-#ifdef WIN32\r
-       timeBeginPeriod(1);\r
-#endif
 
        if (switch_core_new_memory_pool(&module_pool) != SWITCH_STATUS_SUCCESS) {
                switch_console_printf(SWITCH_CHANNEL_CONSOLE, "OH OH no pool\n");