summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 7678b7feb..d14e30cf7 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -86,6 +86,9 @@ Executable git-annex
if flag(Production)
GHC-Options: -O2
+ if os(windows)
+ CPP-Options: -D__WINDOWS__
+
if flag(TestSuite)
Build-Depends: HUnit
CPP-Options: -DWITH_TESTSUITE