From e53f09de573cdda360a72e94553b2eecd747497c Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 1 Jun 2006 12:14:35 +0000 Subject: [PATCH] fix non-Windows build --- compiler/ghci/InteractiveUI.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index b147bbd..c9de96f 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -363,8 +363,8 @@ runGHCi paths maybe_expr = do case maybe_expr of Nothing -> -#if defined(mingw32_HOST_OS) do +#if defined(mingw32_HOST_OS) -- The win32 Console API mutates the first character of -- type-ahead when reading from it in a non-buffered manner. Work -- around this by flushing the input buffer of type-ahead characters, -- 1.7.10.4