summaryrefslogtreecommitdiff
path: root/Utility/ThreadScheduler.hs
diff options
context:
space:
mode:
authorJoey Hess2014-05-10 11:13:47 -0300
committerJoey Hess2014-05-10 11:13:47 -0300
commiteb6e6fe11290971b37a18d9a78f6d9b78228c06f (patch)
tree5c7669b6ce12a8e7c95e918e69548de31eb4fba7 /Utility/ThreadScheduler.hs
parent6088df9105a10ef446cc236982c2e30857182a84 (diff)
parentd7ad05acaaf05c7af066c1d41f3e70e61a9bec96 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'Utility/ThreadScheduler.hs')
-rw-r--r--Utility/ThreadScheduler.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Utility/ThreadScheduler.hs b/Utility/ThreadScheduler.hs
index 9d4cfd0a..fc026d7e 100644
--- a/Utility/ThreadScheduler.hs
+++ b/Utility/ThreadScheduler.hs
@@ -3,7 +3,7 @@
- Copyright 2012, 2013 Joey Hess <joey@kitenet.net>
- Copyright 2011 Bas van Dijk & Roel van Dijk
-
- - Licensed under the GNU GPL version 3 or higher.
+ - License: BSD-2-clause
-}
{-# LANGUAGE CPP #-}
@@ -11,9 +11,11 @@
module Utility.ThreadScheduler where
import Control.Monad
+import Control.Concurrent
+#ifndef mingw32_HOST_OS
import Control.Monad.IfElse
import System.Posix.IO
-import Control.Concurrent
+#endif
#ifndef mingw32_HOST_OS
import System.Posix.Signals
#ifndef __ANDROID__