projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2001-12-05 12:20:39 by simonmar]
[ghc-hetmet.git]
/
ghc
/
lib
/
std
/
cbits
/
inputReady.c
diff --git
a/ghc/lib/std/cbits/inputReady.c
b/ghc/lib/std/cbits/inputReady.c
index
a206d15
..
f4304b6
100644
(file)
--- 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;