From 02f0eff43a931703b03e1367617adbafa98b8371 Mon Sep 17 00:00:00 2001 From: malcolm Date: Sat, 21 Jun 2003 20:21:04 +0000 Subject: [PATCH] [project @ 2003-06-21 20:21:04 by malcolm] Exclude openBinaryFile etc from nhc98 build until we implement it. --- System/IO.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/System/IO.hs b/System/IO.hs index bc1d254..2e7bdd0 100644 --- a/System/IO.hs +++ b/System/IO.hs @@ -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 () -- 1.7.10.4