projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9e94a1a
)
[project @ 2001-12-05 12:20:39 by simonmar]
author
simonmar
<unknown>
Wed, 5 Dec 2001 12:20:39 +0000
(12:20 +0000)
committer
simonmar
<unknown>
Wed, 5 Dec 2001 12:20:39 +0000
(12:20 +0000)
unbreak inputReady().
ghc/lib/std/cbits/inputReady.c
patch
|
blob
|
history
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 ) {
( 1 ) {
#else
( isSock ) {
+#endif
int maxfd, ready;
fd_set rfd;
struct timeval tv;
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);
/* 1 => Input ready, 0 => not ready, -1 => error */
return (ready);
-#endif
#ifdef mingw32_TARGET_OS
} else {
DWORD rc;
#ifdef mingw32_TARGET_OS
} else {
DWORD rc;