fix build warning on windows

This commit is contained in:
Joey Hess 2016-05-05 15:48:58 -04:00
parent 2862eb9d59
commit 6cf9dbb564
Failed to extract signature

View file

@ -145,10 +145,10 @@ probeCrippledFileSystem = do
liftIO $ probeCrippledFileSystem' tmp
probeCrippledFileSystem' :: FilePath -> IO Bool
probeCrippledFileSystem' tmp = do
#ifdef mingw32_HOST_OS
return True
probeCrippledFileSystem' _ = return True
#else
probeCrippledFileSystem' tmp = do
let f = tmp </> "gaprobe"
writeFile f ""
uncrippled <- probe f