[commit: ghc] master: Fix Windows build regression due to GhcPrelude change (7c7914d)
git at git.haskell.org
git at git.haskell.org
Tue Sep 19 20:03:26 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/7c7914d02a7ff189aba2f4feca31366fb4ab2664/ghc
>---------------------------------------------------------------
commit 7c7914d02a7ff189aba2f4feca31366fb4ab2664
Author: Ben Gamari <ben at smart-cactus.org>
Date: Tue Sep 19 15:58:20 2017 -0400
Fix Windows build regression due to GhcPrelude change
>---------------------------------------------------------------
7c7914d02a7ff189aba2f4feca31366fb4ab2664
compiler/main/SysTools/Terminal.hs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/compiler/main/SysTools/Terminal.hs b/compiler/main/SysTools/Terminal.hs
index cd33bfb..b7f343a 100644
--- a/compiler/main/SysTools/Terminal.hs
+++ b/compiler/main/SysTools/Terminal.hs
@@ -1,9 +1,10 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE ScopedTypeVariables #-}
module SysTools.Terminal (stderrSupportsAnsiColors) where
-#if defined MIN_VERSION_terminfo
+
import GhcPrelude
+#if defined MIN_VERSION_terminfo
import Control.Exception (catch)
import Data.Maybe (fromMaybe)
import System.Console.Terminfo (SetupTermError, Terminal, getCapability,
More information about the ghc-commits
mailing list