Revision
16300
Author
jlenk
Date
2010-01-13 22:01:32 -0600 (Wed, 13 Jan 2010)

Log Message

Fix windows build

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_time.c (16299 => 16300)


--- freeswitch/trunk/src/switch_time.c	2010-01-14 03:29:55 UTC (rev 16299)
+++ freeswitch/trunk/src/switch_time.c	2010-01-14 04:01:32 UTC (rev 16300)
@@ -204,7 +204,11 @@
 			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;
 		}