From da96f3c5d516b23522c31eeb0c92827e87c3759b Mon Sep 17 00:00:00 2001 From: malcolm Date: Fri, 13 Dec 2002 13:36:36 +0000 Subject: [PATCH] [project @ 2002-12-13 13:36:36 by malcolm] Add #ifdef around import Control.Exception, which does not exist in nhc98. --- System/Environment.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/System/Environment.hs b/System/Environment.hs index fab7202..c1b33b0 100644 --- a/System/Environment.hs +++ b/System/Environment.hs @@ -24,7 +24,9 @@ module System.Environment ) where import Prelude +#ifndef __NHC__ import Control.Exception ( bracket ) +#endif #ifdef __GLASGOW_HASKELL__ import Foreign -- 1.7.10.4