aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Threads
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-12-28 13:28:21 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-12-28 13:28:21 -0400
commit76f7ce93affffa1777665276ae4b530c73fd2d72 (patch)
tree2dbf47b86174a5e69e9db1bf22e4c30bdb331dd4 /Assistant/Threads
parenta5dfd1f57c237ea573d03f94abb1bcfed14ffb85 (diff)
fix OSX build
Diffstat (limited to 'Assistant/Threads')
-rw-r--r--Assistant/Threads/Committer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/Committer.hs b/Assistant/Threads/Committer.hs
index 0bdbb0378..34303f52a 100644
--- a/Assistant/Threads/Committer.hs
+++ b/Assistant/Threads/Committer.hs
@@ -235,7 +235,7 @@ commitStaged msg = do
- access the file after closing it. -}
delayaddDefault :: Annex (Maybe Seconds)
#ifdef darwin_HOST_OS
-delayaddDefault = ifM (isDirect || versionSupportsUnlockedPointers)
+delayaddDefault = ifM (isDirect <||> versionSupportsUnlockedPointers)
( return Nothing
, return $ Just $ Seconds 1
)