diff options
author | 2013-05-10 16:57:21 -0500 | |
---|---|---|
committer | 2013-05-10 16:57:21 -0500 | |
commit | ae6293ae6710b0a7580bc9a0045c92d1d5b87036 (patch) | |
tree | fbd105bed124fb698fdc5bbdf4eb2d9ccd086979 /Annex | |
parent | 5d0476bf59674b39fa6bad7e4446b5c741181143 (diff) |
fixup #if 0 stubs to use #ifndef mingw32_HOST_OS
That's needed in files used to build the configure program.
For the other files, I'm keeping my __WINDOWS__ define, as I find that much easier to type.
I may search and replace it to use the mingw32_HOST_OS thing later.
Diffstat (limited to 'Annex')
-rwxr-xr-x | Annex/Branch.hs | 2 | ||||
-rwxr-xr-x | Annex/Environment.hs | 2 | ||||
-rwxr-xr-x | Annex/Ssh.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs index 2304a3e49..3788358f2 100755 --- a/Annex/Branch.hs +++ b/Annex/Branch.hs @@ -24,7 +24,7 @@ module Annex.Branch ( ) where import qualified Data.ByteString.Lazy.Char8 as L -#if 0 +#ifndef mingw32_HOST_OS import System.Posix.Env #endif diff --git a/Annex/Environment.hs b/Annex/Environment.hs index d6755e287..fef6989ee 100755 --- a/Annex/Environment.hs +++ b/Annex/Environment.hs @@ -13,7 +13,7 @@ import Common.Annex import Utility.UserInfo import qualified Git.Config -#if 0 +#ifndef mingw32_HOST_OS import System.Posix.Env #endif import Network.BSD diff --git a/Annex/Ssh.hs b/Annex/Ssh.hs index f71d389c7..1846fd342 100755 --- a/Annex/Ssh.hs +++ b/Annex/Ssh.hs @@ -14,7 +14,7 @@ module Annex.Ssh ( ) where import qualified Data.Map as M -#if 0 +#ifndef mingw32_HOST_OS import System.Posix.Env #endif |