[commit: packages/Cabal] ghc-head: Build fix for Windows (0fcbec7)

git at git.haskell.org git at git.haskell.org
Mon Aug 26 23:31:02 CEST 2013


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=0fcbec70647271299cd901fb9aab8957bf0e2987

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

commit 0fcbec70647271299cd901fb9aab8957bf0e2987
Author: Eugene Sukhodolin <eugene at sukhodolin.com>
Date:   Fri Aug 23 19:41:21 2013 +0700

    Build fix for Windows


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

0fcbec70647271299cd901fb9aab8957bf0e2987
 Cabal/Distribution/Compat/Environment.hs |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Cabal/Distribution/Compat/Environment.hs b/Cabal/Distribution/Compat/Environment.hs
index 5e0255d..6430767 100644
--- a/Cabal/Distribution/Compat/Environment.hs
+++ b/Cabal/Distribution/Compat/Environment.hs
@@ -6,6 +6,10 @@ module Distribution.Compat.Environment (getEnvironment)
 
 import qualified System.Environment as System
 
+#ifdef mingw32_HOST_OS
+import qualified Data.Char as Char (toUpper)
+#endif
+
 getEnvironment :: IO [(String, String)]
 #ifdef mingw32_HOST_OS
 -- On Windows, the names of environment variables are case-insensitive, but are





More information about the ghc-commits mailing list