From 3ec0be7e1af9044743ffbc1217157079f54aa016 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 16 May 2017 21:06:34 -0400 Subject: [PATCH] avoid warning when the concurrent-output flag is disabled --- Messages/Concurrent.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Messages/Concurrent.hs b/Messages/Concurrent.hs index 78eed3bb1c..86a58f768e 100644 --- a/Messages/Concurrent.hs +++ b/Messages/Concurrent.hs @@ -153,6 +153,8 @@ hideRegionsWhile a = bracketIO setup cleanup go liftIO $ hFlush stdout a #else +#ifdef WITH_CONCURRENTOUTPUT #warning Building with concurrent-output older than 1.9.0 so expect some display glitches when password prompts occur in concurrent mode +#endif hideRegionsWhile = id #endif