diff options
author | 2013-02-27 02:39:22 -0400 | |
---|---|---|
committer | 2013-02-27 02:39:22 -0400 | |
commit | a06989c1aeaf6463e554131993c5cb395d3f08bd (patch) | |
tree | a180b379cce80e8d4fa94cd4a15b5052316fddec /Utility/ThreadScheduler.hs | |
parent | 8ba6b0d9bc54656eb0d8d45adf94561f6350e792 (diff) |
Makefile now builds using cabal, taking advantage of cabal's automatic detection of appropriate build flags.
The only thing lost is ./ghci
Speed: make fast used to take 20 seconds here, when rebuilding from
touching Command/Unused.hs. With cabal, it's 29 seconds.
Diffstat (limited to 'Utility/ThreadScheduler.hs')
-rw-r--r-- | Utility/ThreadScheduler.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utility/ThreadScheduler.hs b/Utility/ThreadScheduler.hs index fdf40ab6d..a32606cfd 100644 --- a/Utility/ThreadScheduler.hs +++ b/Utility/ThreadScheduler.hs @@ -14,7 +14,7 @@ import Common import Control.Concurrent import System.Posix.Signals -#ifndef WITH_ANDROID +#ifndef __ANDROID__ import System.Posix.Terminal #endif @@ -53,7 +53,7 @@ waitForTermination :: IO () waitForTermination = do lock <- newEmptyMVar check softwareTermination lock -#ifndef WITH_ANDROID +#ifndef __ANDROID__ whenM (queryTerminal stdInput) $ check keyboardSignal lock #endif |