]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix windows build
authorJeff Lenk <jeff@jefflenk.com>
Thu, 14 Jan 2010 04:01:32 +0000 (04:01 +0000)
committerJeff Lenk <jeff@jefflenk.com>
Thu, 14 Jan 2010 04:01:32 +0000 (04:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16300 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_time.c

index d5c0fb582f6c2e75f1642f16d67ff464d627c1c8..c8768e55be8b703e8acb8faf96a30b969e28c044 100644 (file)
@@ -204,7 +204,11 @@ static void calibrate_clock(void)
                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, 
                                                          "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);
+#ifdef WIN32
+                       Sleep(5*1000);
+#else
                        sleep(5);
+#endif
                        return;
                }