move old ghc compat code into separate module; eliminate WITH_CLIBS
This avoids hsc2hs being run except when building for the old version of ghc. Should speed up builds.
This commit is contained in:
parent
a665f92b91
commit
40207b26ea
7 changed files with 61 additions and 57 deletions
|
@ -25,7 +25,7 @@ import Assistant.Threads.RemoteControl
|
|||
import Assistant.Threads.SanityChecker
|
||||
import Assistant.Threads.Cronner
|
||||
import Assistant.Threads.ProblemFixer
|
||||
#ifdef WITH_CLIBS
|
||||
#ifndef mingw32_HOST_OS
|
||||
import Assistant.Threads.MountWatcher
|
||||
#endif
|
||||
import Assistant.Threads.NetWatcher
|
||||
|
@ -170,7 +170,7 @@ startDaemon assistant foreground startdelay cannotrun listenhost startbrowser =
|
|||
, assist $ sanityCheckerDailyThread urlrenderer
|
||||
, assist sanityCheckerHourlyThread
|
||||
, assist $ problemFixerThread urlrenderer
|
||||
#ifdef WITH_CLIBS
|
||||
#ifndef mingw32_HOST_OS
|
||||
, assist $ mountWatcherThread urlrenderer
|
||||
#endif
|
||||
, assist netWatcherThread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue