[project @ 2001-12-05 12:20:39 by simonmar]
authorsimonmar <unknown>
Wed, 5 Dec 2001 12:20:39 +0000 (12:20 +0000)
committersimonmar <unknown>
Wed, 5 Dec 2001 12:20:39 +0000 (12:20 +0000)
unbreak inputReady().

ghc/lib/std/cbits/inputReady.c

index a206d15..f4304b6 100644 (file)
@@ -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;