[project @ 2003-06-21 20:21:04 by malcolm]
authormalcolm <unknown>
Sat, 21 Jun 2003 20:21:04 +0000 (20:21 +0000)
committermalcolm <unknown>
Sat, 21 Jun 2003 20:21:04 +0000 (20:21 +0000)
Exclude openBinaryFile etc from nhc98 build until we implement it.

System/IO.hs

index bc1d254..2e7bdd0 100644 (file)
@@ -24,7 +24,9 @@ module System.IO (
     stdin, stdout, stderr,   -- :: Handle
 
     openFile,                 -- :: FilePath -> IOMode -> IO Handle
+#if !defined(__NHC__)
     openBinaryFile,           -- :: FilePath -> IOMode -> IO Handle
+#endif
     hClose,                   -- :: Handle -> IO ()
     hFileSize,                -- :: Handle -> IO Integer
     hIsEOF,                   -- :: Handle -> IO Bool
@@ -32,7 +34,7 @@ module System.IO (
 
     hSetBuffering,            -- :: Handle -> BufferMode -> IO ()
     hGetBuffering,            -- :: Handle -> IO BufferMode
-#ifndef __HUGS__
+#if !defined(__HUGS__) && !defined(__NHC__)
     hSetBinaryMode,           -- :: Handle -> Bool -> IO ()
 #endif
     hFlush,                   -- :: Handle -> IO ()