squash build warnings on windows
This commit is contained in:
parent
06a80dc790
commit
804808d569
9 changed files with 10 additions and 10 deletions
|
@ -41,13 +41,11 @@ batch a = wait =<< batchthread
|
|||
batchthread = asyncBound $ do
|
||||
setProcessPriority 0 maxNice
|
||||
a
|
||||
maxNice = 19
|
||||
#else
|
||||
batch a = a
|
||||
#endif
|
||||
|
||||
maxNice :: Int
|
||||
maxNice = 19
|
||||
|
||||
{- Makes a command be run by whichever of nice, ionice, and nocache
|
||||
- are available in the path. -}
|
||||
type BatchCommandMaker = (String, [CommandParam]) -> (String, [CommandParam])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue