From: Simon Marlow Date: Tue, 15 Jun 2010 10:54:01 +0000 (+0000) Subject: Don't depend on Prelude (#4123) X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=167f2174f717dc3698c9e66928860cd8e6fb822b;p=ghc-base.git Don't depend on Prelude (#4123) --- diff --git a/Control/Concurrent/MVar.hs b/Control/Concurrent/MVar.hs index 521b499..352d01e 100644 --- a/Control/Concurrent/MVar.hs +++ b/Control/Concurrent/MVar.hs @@ -1,3 +1,4 @@ +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Control.Concurrent.MVar @@ -45,7 +46,12 @@ import GHC.MVar ( MVar, newEmptyMVar, newMVar, takeMVar, putMVar, ) #endif +#ifdef __GLASGOW_HASKELL__ +import GHC.Base +#else import Prelude +#endif + import Control.Exception.Base {-|