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) {
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");