提交 e6cdee48 authored 作者: Anthony Minessale's avatar Anthony Minessale

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@93 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 51355269
...@@ -87,19 +87,6 @@ struct private_object { ...@@ -87,19 +87,6 @@ struct private_object {
switch_thread_cond_t *cond; switch_thread_cond_t *cond;
}; };
#ifdef WIN32
#include <Mmsystem.h>
int gettimeofday(struct timeval *tp, void *tz)
{
DWORD now;
now = timeGetTime();
tp->tv_sec = now / 1000;
tp->tv_usec = (now % 1000) * 1000;
return 0;
}
#endif
static void set_global_dialplan(char *dialplan) static void set_global_dialplan(char *dialplan)
{ {
if (globals.dialplan) { if (globals.dialplan) {
...@@ -725,10 +712,6 @@ static const switch_loadable_module_interface channel_module_interface = { ...@@ -725,10 +712,6 @@ static const switch_loadable_module_interface channel_module_interface = {
SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface) { SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface) {
#ifdef WIN32
timeBeginPeriod(1);
#endif
if (switch_core_new_memory_pool(&module_pool) != SWITCH_STATUS_SUCCESS) { if (switch_core_new_memory_pool(&module_pool) != SWITCH_STATUS_SUCCESS) {
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "OH OH no pool\n"); switch_console_printf(SWITCH_CHANNEL_CONSOLE, "OH OH no pool\n");
return SWITCH_STATUS_TERM; return SWITCH_STATUS_TERM;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论