Commit 1a11db60 authored by Ian Lynagh's avatar Ian Lynagh

Fix ioeGetHandle001 on Windows

parent c577cdfc
......@@ -2,13 +2,13 @@
import IO
import Maybe
#ifdef i386_unknown_mingw32
#ifdef mingw32_HOST_OS
import GHC.Handle(hSetBinaryMode)
#endif
main = do
h <- openFile "ioeGetHandle001.hs" ReadMode
#ifdef i386_unknown_mingw32
#ifdef mingw32_HOST_OS
hSetBinaryMode h True
#endif
hSeek h SeekFromEnd 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment