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
|
||||
|
||||
Annex.addCleanup (remoteid ++ "-stop-command") $ runstop lck
|
||||
#ifndef __WINDOWS__
|
||||
#ifndef mingw32_HOST_OS
|
||||
runstop lck = do
|
||||
-- Drop any shared lock we have, and take an
|
||||
-- exclusive lock, without blocking. If the lock
|
||||
|
|
|
@ -97,9 +97,7 @@ Executable git-annex
|
|||
if flag(Production)
|
||||
GHC-Options: -O2
|
||||
|
||||
if os(windows)
|
||||
CPP-Options: -D__WINDOWS__
|
||||
else
|
||||
if (! os(windows))
|
||||
Build-Depends: unix
|
||||
|
||||
if flag(TestSuite)
|
||||
|
|
Loading…
Reference in a new issue