From: malcolm Date: Fri, 13 Dec 2002 13:36:36 +0000 (+0000) Subject: [project @ 2002-12-13 13:36:36 by malcolm] X-Git-Tag: nhc98-1-18-release~783 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=da96f3c5d516b23522c31eeb0c92827e87c3759b;p=haskell-directory.git [project @ 2002-12-13 13:36:36 by malcolm] Add #ifdef around import Control.Exception, which does not exist in nhc98. --- 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