From c78c5b0a30d86ced11cf128bd88eac41e093e855 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 16 May 2017 21:06:34 -0400 Subject: 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 78eed3bb1..86a58f768 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 -- cgit v1.2.3