fix windows build

This commit is contained in:
Joey Hess 2021-06-22 09:46:06 -04:00
parent 4b93e933db
commit 0fe550af75
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 4 additions and 2 deletions

View file

@ -51,8 +51,8 @@ import Annex.Tmp
import Utility.UserInfo
import qualified Utility.RawFilePath as R
import Utility.ThreadScheduler
#ifndef mingw32_HOST_OS
import Annex.Perms
#ifndef mingw32_HOST_OS
import Utility.FileMode
import System.Posix.User
import qualified Utility.LockFile.Posix as Posix
@ -255,7 +255,7 @@ probeCrippledFileSystem'
-> Maybe (RawFilePath -> m ())
-> m (Bool, [String])
#ifdef mingw32_HOST_OS
probeCrippledFileSystem' _ _ = return (True, [])
probeCrippledFileSystem' _ _ _ = return (True, [])
#else
probeCrippledFileSystem' tmp freezecontent thawcontent = do
let f = tmp P.</> "gaprobe"

View file

@ -2,3 +2,5 @@ As of commit 4b1b9d7a8, trying to build git-annex on Windows fails because of a
[[!meta author=jwodder]]
[[!tag projects/datalad]]
> [[done]], thank you jwodder! --[[Joey]]