diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-04-05 12:01:12 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-04-05 12:12:48 -0400 |
commit | 819c3db73acf5246cd332ad3062c61b7a2e8ee68 (patch) | |
tree | 7425f16a8771d1bb917afb65b848ebf855c8c619 /ghc | |
parent | 4a1eed40bec08d50634b9754448ae34666e71fb2 (diff) | |
download | haskell-819c3db73acf5246cd332ad3062c61b7a2e8ee68.tar.gz |
Revert "Enable new warning for fragile/incorrect CPP #if usage"
This is causing too much platform dependent breakage at the moment. We
will need a more rigorous testing strategy before this can be
merged again.
This reverts commit 7e340c2bbf4a56959bd1e95cdd1cfdb2b7e537c2.
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/GHCi/UI.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs index f3154c6fc5..deee24ab33 100644 --- a/ghc/GHCi/UI.hs +++ b/ghc/GHCi/UI.hs @@ -379,7 +379,7 @@ findEditor :: IO String findEditor = do getEnv "EDITOR" `catchIO` \_ -> do -#ifdef mingw32_HOST_OS +#if mingw32_HOST_OS win <- System.Win32.getWindowsDirectory return (win </> "notepad.exe") #else |