From e761a777f2440ca1b8d8b40848cc5aa30d889ff6 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 20 Jun 2008 19:30:03 +0000 Subject: Remove code that isn't used now that we assume that GHC >= 6.4 --- compiler/utils/StringBuffer.lhs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'compiler/utils/StringBuffer.lhs') diff --git a/compiler/utils/StringBuffer.lhs b/compiler/utils/StringBuffer.lhs index 1a30edbc5a..a89c0d2ba9 100644 --- a/compiler/utils/StringBuffer.lhs +++ b/compiler/utils/StringBuffer.lhs @@ -49,15 +49,7 @@ import System.IO ( hGetBuf, hFileSize,IOMode(ReadMode), hClose import GHC.Exts -#if !defined(__GLASGOW_HASKELL__) || __GLASGOW_HASKELL__ >= 601 import System.IO ( openBinaryFile ) -#else -import IOExts ( openFileEx, IOModeEx(..) ) -#endif - -#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 601 -openBinaryFile fp mode = openFileEx fp (BinaryMode mode) -#endif -- ----------------------------------------------------------------------------- -- The StringBuffer type -- cgit v1.2.1