diff options
author | Tim Angus <tim@ngus.net> | 2005-12-28 19:16:23 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-12-28 19:16:23 +0000 |
commit | 13e1832ab581fb91387150613c571adf840e8940 (patch) | |
tree | ad0541d108404709e8c2a7577020c56a86c2b059 /src/master/master.c | |
parent | 4e62f09c50f1f4a5cecf5bc979101903e0a8c67f (diff) |
* Some win32 fixes
Diffstat (limited to 'src/master/master.c')
-rw-r--r-- | src/master/master.c | 4 |
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; } |