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 210b64b01..5ac4d0f0b 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -115,6 +115,9 @@ Executable git-annex
Build-Depends: data-endian
CPP-Options: -D__ANDROID__
+ if os(linux)
+ CPP-Options: -D__LINUX__
+
if os(linux) && flag(Inotify)
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY