avoid warning when the concurrent-output flag is disabled

This commit is contained in:
Joey Hess 2017-05-16 21:06:34 -04:00
parent 1f7da71a91
commit 3ec0be7e1a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -153,6 +153,8 @@ hideRegionsWhile a = bracketIO setup cleanup go
liftIO $ hFlush stdout liftIO $ hFlush stdout
a a
#else #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 #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 hideRegionsWhile = id
#endif #endif