Fix windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16300 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Jeff Lenk 2010-01-14 04:01:32 +00:00
parent b525cad27f
commit b88a016962
1 changed files with 4 additions and 0 deletions

View File

@ -204,7 +204,11 @@ static void calibrate_clock(void)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING,
"Abnormally large timer gap %d detected!\n" "Abnormally large timer gap %d detected!\n"
"Do you have your kernel timer set to higher than 1khz? You may experience audio problems.\n", diff); "Do you have your kernel timer set to higher than 1khz? You may experience audio problems.\n", diff);
#ifdef WIN32
Sleep(5*1000);
#else
sleep(5); sleep(5);
#endif
return; return;
} }