From f1b4f5e2ae0150d9ec0a666f4bbde8988bac9e29 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 3 Apr 2007 15:35:19 +0000 Subject: fix MSDOS symbol check --- lib/select.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/select.c b/lib/select.c index 83484eeeb..ddc40593e 100644 --- a/lib/select.c +++ b/lib/select.c @@ -41,7 +41,7 @@ #include #endif -#ifdef __MSDOS__ +#ifdef MSDOS #include /* delay() */ #endif @@ -116,7 +116,7 @@ */ static int wait_ms(int timeout_ms) { -#if !defined(__MSDOS__) && !defined(USE_WINSOCK) +#if !defined(MSDOS) && !defined(USE_WINSOCK) #ifndef HAVE_POLL_FINE struct timeval pending_tv; #endif @@ -132,7 +132,7 @@ static int wait_ms(int timeout_ms) SET_SOCKERRNO(EINVAL); return -1; } -#if defined(__MSDOS__) +#if defined(MSDOS) delay(timeout_ms); #elif defined(USE_WINSOCK) Sleep(timeout_ms); -- cgit v1.2.1