Revert "avoid hsc files on Windows"
This reverts commit 158ba9d332
.
My windows build environment was broken; reverted to backup.
This commit is contained in:
parent
bf11eac772
commit
ad86926f09
3 changed files with 5 additions and 17 deletions
|
@ -24,10 +24,8 @@ import Annex.Link
|
|||
import qualified Annex
|
||||
import qualified Annex.Queue
|
||||
#ifndef __ANDROID__
|
||||
#ifdef WITH_CLIBS
|
||||
import Utility.Touch
|
||||
#endif
|
||||
#endif
|
||||
import Utility.FileMode
|
||||
import Config
|
||||
import Utility.InodeCache
|
||||
|
@ -208,13 +206,11 @@ link file key mcache = flip catchAnnex (undo file key) $ do
|
|||
replaceFile file $ makeAnnexLink l
|
||||
|
||||
#ifndef __ANDROID__
|
||||
#ifdef WITH_CLIBS
|
||||
-- touch symlink to have same time as the original file,
|
||||
-- as provided in the InodeCache
|
||||
case mcache of
|
||||
Just c -> liftIO $ touch file (TimeSpec $ inodeCacheToMtime c) False
|
||||
Nothing -> noop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return l
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue