From 78e6be0db4043f223a2ef103a74f40d2b246fd43 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 28 Dec 2015 12:44:04 -0400 Subject: fix windows build --- Annex/Content.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annex/Content.hs b/Annex/Content.hs index 6c03e334c..9d3732d0b 100644 --- a/Annex/Content.hs +++ b/Annex/Content.hs @@ -586,8 +586,8 @@ linkOrCopy key src dest = catchBoolIO $ ) where hardlink = do -#ifndef mingw32_HOST_OS s <- getstat +#ifndef mingw32_HOST_OS if linkCount s > 1 then copy s else liftIO (createLink src dest >> return True) -- cgit v1.2.3