Fix gratuitous breakage of nhc98 in System.IO.
authorMalcolm.Wallace@cs.york.ac.uk <unknown>
Fri, 9 Oct 2009 13:40:01 +0000 (13:40 +0000)
committerMalcolm.Wallace@cs.york.ac.uk <unknown>
Fri, 9 Oct 2009 13:40:01 +0000 (13:40 +0000)
System/IO.hs

index c6a11dd..6a6efa2 100644 (file)
@@ -468,6 +468,8 @@ fixIO k = do
 -- Assume a unix platform, where text and binary I/O are identical.
 openBinaryFile = openFile
 hSetBinaryMode _ _ = return ()
+
+type CMode = Int
 #endif
 
 -- | The function creates a temporary file in ReadWrite mode.