fix build warning on windows
This commit is contained in:
parent
2862eb9d59
commit
6cf9dbb564
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue