remove __WINDOWS__ ifdef
This commit is contained in:
parent
ecd26dbe52
commit
571fe4999b
2 changed files with 2 additions and 4 deletions
|
@ -73,7 +73,7 @@ runHooks r starthook stophook a = do
|
||||||
run starthook
|
run starthook
|
||||||
|
|
||||||
Annex.addCleanup (remoteid ++ "-stop-command") $ runstop lck
|
Annex.addCleanup (remoteid ++ "-stop-command") $ runstop lck
|
||||||
#ifndef __WINDOWS__
|
#ifndef mingw32_HOST_OS
|
||||||
runstop lck = do
|
runstop lck = do
|
||||||
-- Drop any shared lock we have, and take an
|
-- Drop any shared lock we have, and take an
|
||||||
-- exclusive lock, without blocking. If the lock
|
-- exclusive lock, without blocking. If the lock
|
||||||
|
|
|
@ -97,9 +97,7 @@ Executable git-annex
|
||||||
if flag(Production)
|
if flag(Production)
|
||||||
GHC-Options: -O2
|
GHC-Options: -O2
|
||||||
|
|
||||||
if os(windows)
|
if (! os(windows))
|
||||||
CPP-Options: -D__WINDOWS__
|
|
||||||
else
|
|
||||||
Build-Depends: unix
|
Build-Depends: unix
|
||||||
|
|
||||||
if flag(TestSuite)
|
if flag(TestSuite)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue