summaryrefslogtreecommitdiff
path: root/Git/CurrentRepo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Git/CurrentRepo.hs')
-rw-r--r--Git/CurrentRepo.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/CurrentRepo.hs b/Git/CurrentRepo.hs
index 2a8807488..777caa981 100644
--- a/Git/CurrentRepo.hs
+++ b/Git/CurrentRepo.hs
@@ -41,7 +41,7 @@ get = do
return $ addworktree wt r
where
pathenv s = do
-#ifndef __WINDOWS__
+#ifndef mingw32_HOST_OS
v <- getEnv s
case v of
Just d -> do