[project @ 2002-07-16 16:09:00 by ross] meta-haskell-merge7 meta-haskell-merge8
authorross <unknown>
Tue, 16 Jul 2002 16:09:00 +0000 (16:09 +0000)
committerross <unknown>
Tue, 16 Jul 2002 16:09:00 +0000 (16:09 +0000)
Add imports of Hugs.* modules (wrapped in #ifdef __HUGS__) to make these
modules work with Hugs.

IO.hs

diff --git a/IO.hs b/IO.hs
index dcdad79..84305b2 100644 (file)
--- a/IO.hs
+++ b/IO.hs
@@ -1,5 +1,10 @@
+{-# OPTIONS -cpp #-}
 module IO (
     module System.IO
   ) where
 
+#ifdef __HUGS__
+import System.IO hiding ( fixIO )
+#else
 import System.IO hiding ( fixIO, hGetBuf, hPutBuf )
+#endif