From 7b286d6eae27baa4a03784810bd92fd6dc2ec16e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 28 May 2014 17:48:49 -0400 Subject: allow building with old versions of exceptions before MonadMask was split out --- Annex.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Annex.hs') diff --git a/Annex.hs b/Annex.hs index 9ecb914cb..bb0b6f084 100644 --- a/Annex.hs +++ b/Annex.hs @@ -79,7 +79,9 @@ newtype Annex a = Annex { runAnnex :: ReaderT (MVar AnnexState) IO a } MonadReader (MVar AnnexState), MonadCatch, MonadThrow, +#if MIN_VERSION_exceptions(0,6,0) MonadMask, +#endif Functor, Applicative ) -- cgit v1.2.3