fix OSX build

This commit is contained in:
Joey Hess 2015-12-28 13:28:21 -04:00
parent f4e5ed384a
commit 7c5c7bb04a
Failed to extract signature

View file

@ -235,7 +235,7 @@ commitStaged msg = do
- access the file after closing it. -} - access the file after closing it. -}
delayaddDefault :: Annex (Maybe Seconds) delayaddDefault :: Annex (Maybe Seconds)
#ifdef darwin_HOST_OS #ifdef darwin_HOST_OS
delayaddDefault = ifM (isDirect || versionSupportsUnlockedPointers) delayaddDefault = ifM (isDirect <||> versionSupportsUnlockedPointers)
( return Nothing ( return Nothing
, return $ Just $ Seconds 1 , return $ Just $ Seconds 1
) )