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

View file

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