summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-05-16 21:06:34 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-05-16 21:06:34 -0400
commitc78c5b0a30d86ced11cf128bd88eac41e093e855 (patch)
tree6209ea0082df9b4df5ab67caf44d642c0ac73d5f
parenteca0c7280dabbf81ffe262f172c55e34f14e8cbe (diff)
avoid warning when the concurrent-output flag is disabled
-rw-r--r--Messages/Concurrent.hs2
1 files changed, 2 insertions, 0 deletions
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