diff options
Diffstat (limited to 'Utility/CopyFile.hs')
-rw-r--r-- | Utility/CopyFile.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/CopyFile.hs b/Utility/CopyFile.hs index 9f10cb790..4a609fd16 100644 --- a/Utility/CopyFile.hs +++ b/Utility/CopyFile.hs @@ -36,7 +36,7 @@ copyFileExternal src dest = do {- Create a hard link if the filesystem allows it, and fall back to copying - the file. -} createLinkOrCopy :: FilePath -> FilePath -> IO Bool -#ifndef __WINDOWS__ +#ifndef mingw32_HOST_OS createLinkOrCopy src dest = go `catchIO` const fallback where go = do |