projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix build on Windows
[ghc-base.git]
/
GHC
/
IO
/
FD.hs
diff --git
a/GHC/IO/FD.hs
b/GHC/IO/FD.hs
index
2b21914
..
d4d28bf
100644
(file)
--- a/
GHC/IO/FD.hs
+++ b/
GHC/IO/FD.hs
@@
-219,7
+219,7
@@
mkFD fd iomode mb_stat is_socket is_nonblock = do
_ -> True
#ifdef mingw32_HOST_OS
- setmode fd True -- unconditionally set binary mode
+ _ <- setmode fd True -- unconditionally set binary mode
let _ = (dev,ino,write) -- warning suppression
#endif