summaryrefslogtreecommitdiff
path: root/src/master/master.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-12-28 19:16:23 +0000
committerTim Angus <tim@ngus.net>2005-12-28 19:16:23 +0000
commit13e1832ab581fb91387150613c571adf840e8940 (patch)
treead0541d108404709e8c2a7577020c56a86c2b059 /src/master/master.c
parent4e62f09c50f1f4a5cecf5bc979101903e0a8c67f (diff)
* Some win32 fixes
Diffstat (limited to 'src/master/master.c')
-rw-r--r--src/master/master.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/master/master.c b/src/master/master.c
index 47ece021..2343c319 100644
--- a/src/master/master.c
+++ b/src/master/master.c
@@ -569,7 +569,11 @@ int main (int argc, const char* argv [])
// Check for new data every 100ms
if( select( sock + 1, &rfds, NULL, NULL, &tv ) <= 0 )
{
+#ifdef _WIN32
+ Sleep( 100 );
+#else
usleep( 100000 );
+#endif
continue;
}