remove __WINDOWS__ ifdef

This commit is contained in:
Joey Hess 2013-10-06 17:23:30 -04:00
parent ecd26dbe52
commit 571fe4999b
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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)