diff options
| author | simonmar <unknown> | 2001-12-05 12:20:39 +0000 |
|---|---|---|
| committer | simonmar <unknown> | 2001-12-05 12:20:39 +0000 |
| commit | 2e1d81190f5d80b1431691cc4141ca2c1719ff66 (patch) | |
| tree | 18c0d267f58bafc5258fb78febb56cedd211a146 /ghc/lib/std/cbits/inputReady.c | |
| parent | 9e94a1afb46c14539c6efa778541c17a1641d712 (diff) | |
| download | haskell-2e1d81190f5d80b1431691cc4141ca2c1719ff66.tar.gz | |
[project @ 2001-12-05 12:20:39 by simonmar]
unbreak inputReady().
Diffstat (limited to 'ghc/lib/std/cbits/inputReady.c')
| -rw-r--r-- | ghc/lib/std/cbits/inputReady.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/lib/std/cbits/inputReady.c b/ghc/lib/std/cbits/inputReady.c index a206d159ac..f4304b67d3 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; |
