From: simonmar Date: Wed, 5 Dec 2001 12:20:39 +0000 (+0000) Subject: [project @ 2001-12-05 12:20:39 by simonmar] X-Git-Tag: Approximately_9120_patches~464 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2e1d81190f5d80b1431691cc4141ca2c1719ff66;p=ghc-hetmet.git [project @ 2001-12-05 12:20:39 by simonmar] unbreak inputReady(). --- diff --git a/ghc/lib/std/cbits/inputReady.c b/ghc/lib/std/cbits/inputReady.c index a206d15..f4304b6 100644 --- a/ghc/lib/std/cbits/inputReady.c +++ b/ghc/lib/std/cbits/inputReady.c @@ -21,6 +21,7 @@ inputReady(int fd, int msecs, int isSock) ( 1 ) { #else ( isSock ) { +#endif int maxfd, ready; fd_set rfd; struct timeval tv; @@ -43,7 +44,6 @@ inputReady(int fd, int msecs, int isSock) /* 1 => Input ready, 0 => not ready, -1 => error */ return (ready); -#endif #ifdef mingw32_TARGET_OS } else { DWORD rc;