summaryrefslogtreecommitdiff
path: root/Messages
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 15:06:54 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 15:06:54 -0400
commit4de2d0d2cb93b540aca59a51e4be7a0815c47a03 (patch)
treea9da674a037e35739a5954c16c9a113d1d871e49 /Messages
parent83199be6cc49b895f76de66b46f7ebe5d168b5f6 (diff)
quiet warning on windows
Diffstat (limited to 'Messages')
-rw-r--r--Messages/Concurrent.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Messages/Concurrent.hs b/Messages/Concurrent.hs
index ee81109f1..565319329 100644
--- a/Messages/Concurrent.hs
+++ b/Messages/Concurrent.hs
@@ -19,8 +19,10 @@ import qualified System.Console.Concurrent as Console
import qualified System.Console.Regions as Regions
import Control.Concurrent.STM
import qualified Data.Text as T
+#ifndef mingw32_HOST_OS
import GHC.IO.Encoding
#endif
+#endif
{- Outputs a message in a concurrency safe way.
-