From b88a0169621ac68b7863dbf0b32c2026ec841fe1 Mon Sep 17 00:00:00 2001
From: Jeff Lenk <jeff@jefflenk.com>
Date: Thu, 14 Jan 2010 04:01:32 +0000
Subject: [PATCH] Fix windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16300 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 src/switch_time.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/switch_time.c b/src/switch_time.c
index d5c0fb582f..c8768e55be 100644
--- a/src/switch_time.c
+++ b/src/switch_time.c
@@ -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;
 		}