[commit: ghc] ghc-7.10: We need to import 'cast' on Windows (d6f5b4c)
git at git.haskell.org
git at git.haskell.org
Sat Mar 14 08:19:21 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.10
Link : http://ghc.haskell.org/trac/ghc/changeset/d6f5b4cf7cf1e3a8946fe6a77ce68ec96baad8fd/ghc
>---------------------------------------------------------------
commit d6f5b4cf7cf1e3a8946fe6a77ce68ec96baad8fd
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date: Sat Mar 14 09:16:44 2015 +0100
We need to import 'cast' on Windows
This fixes breakage introduced via
47b5b5c2b2c92ba091313c36489588edadceaa9d
Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
(cherry picked from commit 11314b936340a0980c27a01400b7dfec2ffdfa42)
>---------------------------------------------------------------
d6f5b4cf7cf1e3a8946fe6a77ce68ec96baad8fd
libraries/base/GHC/Conc/Sync.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libraries/base/GHC/Conc/Sync.hs b/libraries/base/GHC/Conc/Sync.hs
index eb07137..0c0f26b 100644
--- a/libraries/base/GHC/Conc/Sync.hs
+++ b/libraries/base/GHC/Conc/Sync.hs
@@ -104,6 +104,8 @@ import Data.Typeable
#ifndef mingw32_HOST_OS
import Data.Dynamic
+#else
+import Data.Typeable
#endif
import Data.Maybe
More information about the ghc-commits
mailing list