summaryrefslogtreecommitdiff
path: root/GitAnnex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r--GitAnnex.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs
index 1f6b1c177..9553f2277 100644
--- a/GitAnnex.hs
+++ b/GitAnnex.hs
@@ -23,7 +23,7 @@ import qualified Command.Get
import qualified Command.FromKey
import qualified Command.DropKey
import qualified Command.TransferKey
-#ifndef __WINDOWS__
+#ifndef mingw32_HOST_OS
import qualified Command.TransferKeys
#endif
import qualified Command.ReKey
@@ -118,7 +118,7 @@ cmds = concat
, Command.FromKey.def
, Command.DropKey.def
, Command.TransferKey.def
-#ifndef __WINDOWS__
+#ifndef mingw32_HOST_OS
, Command.TransferKeys.def
#endif
, Command.ReKey.def