aboutsummaryrefslogtreecommitdiff
path: root/Annex/Environment.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-08-02 12:27:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-08-02 12:27:32 -0400
commit250a25c8572e557772a9973542f9cfca6ac10b9b (patch)
tree7d4aaa36a7d5b6c3c5e03fb844fb844da4c037d2 /Annex/Environment.hs
parenta39c161ab377eed381186bc57953cd59d6188108 (diff)
get rid of __WINDOWS__, use mingw32_HOST_OS
The latter is harder for me to remember, but avoids build failures in code used by the configure program.
Diffstat (limited to 'Annex/Environment.hs')
-rw-r--r--Annex/Environment.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Environment.hs b/Annex/Environment.hs
index 18097d11d..ce9c33ad6 100644
--- a/Annex/Environment.hs
+++ b/Annex/Environment.hs
@@ -34,7 +34,7 @@ checkEnvironment = do
checkEnvironmentIO :: IO ()
checkEnvironmentIO =
-#ifdef __WINDOWS__
+#ifdef mingw32_HOST_OS
noop
#else
whenM (null <$> myUserGecos) $ do