[project @ 2002-12-13 13:36:36 by malcolm]
authormalcolm <unknown>
Fri, 13 Dec 2002 13:36:36 +0000 (13:36 +0000)
committermalcolm <unknown>
Fri, 13 Dec 2002 13:36:36 +0000 (13:36 +0000)
Add #ifdef around import Control.Exception, which does not exist in nhc98.

System/Environment.hs

index fab7202..c1b33b0 100644 (file)
@@ -24,7 +24,9 @@ module System.Environment
   ) where
 
 import Prelude
+#ifndef __NHC__
 import Control.Exception       ( bracket )
+#endif
 
 #ifdef __GLASGOW_HASKELL__
 import Foreign