summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Command')
-rw-r--r--Command/Add.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Add.hs b/Command/Add.hs
index 18dc65031..d41a0baea 100644
--- a/Command/Add.hs
+++ b/Command/Add.hs
@@ -21,7 +21,7 @@ import Annex.Perms
import Annex.Link
import qualified Annex
import qualified Annex.Queue
-#ifndef WITH_ANDROID
+#ifndef __ANDROID__
import Utility.Touch
#endif
import Utility.FileMode
@@ -166,7 +166,7 @@ link file key hascontent = handle (undo file key) $ do
l <- calcGitLink file key
makeAnnexLink l file
-#ifndef WITH_ANDROID
+#ifndef __ANDROID__
when hascontent $ do
-- touch the symlink to have the same mtime as the
-- file it points to