From bfaf782460bf7adcbd24c2d62bddaeb6806d93df Mon Sep 17 00:00:00 2001 From: sof Date: Fri, 14 Aug 1998 16:44:55 +0000 Subject: [PATCH] [project @ 1998-08-14 16:44:55 by sof] Some more cpp'ery --- ghc/compiler/utils/StringBuffer.lhs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/utils/StringBuffer.lhs b/ghc/compiler/utils/StringBuffer.lhs index 0fdaa47..d1fc13d 100644 --- a/ghc/compiler/utils/StringBuffer.lhs +++ b/ghc/compiler/utils/StringBuffer.lhs @@ -73,7 +73,11 @@ import IOBase ( IOError(..), IOErrorType(..) ) import IOHandle ( readHandle, writeHandle, filePtr ) import PackBase ( unpackCStringBA ) #else -import PrelIOBase ( IOError(..), IOErrorType(..), haFO__ ) +import PrelIOBase ( IOError(..), IOErrorType(..) +#if __GLASGOW_HASKELL__ <= 302 + , haFO__ +#endif + ) import PrelHandle ( readHandle, writeHandle ) import PrelPack ( unpackCStringBA ) #endif -- 1.7.10.4