[commit: base] master: More build ordering fixes (d6b6a0a)

Ian Lynagh igloo at earth.li
Sun May 19 19:31:40 CEST 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

https://github.com/ghc/packages-base/commit/d6b6a0ab1198cfa75e0117370f885e891a194a78

>---------------------------------------------------------------

commit d6b6a0ab1198cfa75e0117370f885e891a194a78
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sun May 19 17:48:03 2013 +0100

    More build ordering fixes

>---------------------------------------------------------------

 GHC/IO/Encoding/CodePage.hs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/GHC/IO/Encoding/CodePage.hs b/GHC/IO/Encoding/CodePage.hs
index 4fb7f3f..ddb01fb 100644
--- a/GHC/IO/Encoding/CodePage.hs
+++ b/GHC/IO/Encoding/CodePage.hs
@@ -3,13 +3,15 @@
              NondecreasingIndentation, MagicHash #-}
 
 module GHC.IO.Encoding.CodePage(
-#if !defined(mingw32_HOST_OS)
- ) where
-#else
+#if defined(mingw32_HOST_OS)
                         codePageEncoding, mkCodePageEncoding,
                         localeEncoding, mkLocaleEncoding
+#endif
                             ) where
 
+#if !defined(mingw32_HOST_OS)
+import GHC.Base () -- Build ordering
+#else
 import GHC.Base
 import GHC.Show
 import GHC.Num





More information about the ghc-commits mailing list