From 13e1832ab581fb91387150613c571adf840e8940 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 28 Dec 2005 19:16:23 +0000 Subject: * Some win32 fixes --- src/master/Makefile | 2 +- src/master/master.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/master/Makefile b/src/master/Makefile index 308ebf05..0e953bc3 100644 --- a/src/master/Makefile +++ b/src/master/Makefile @@ -8,7 +8,7 @@ ifeq ($(PLATFORM),mingw32) RELEASE_LDFLAGS=-lwsock32 DEBUG_LDFLAGS=-lwsock32 RM=del - MKDIR=md + MKDIR=mkdir else BINEXT= RELEASE_LDFLAGS= 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; } -- cgit