diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2019-09-07 17:57:02 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-09-09 05:43:12 -0400 |
commit | 270fbe8512f04b6107755fa22bdec62205c0a567 (patch) | |
tree | c07c9296a68c690b15eeb0532d7530d08521e0f9 /compiler/cmm/Cmm.hs | |
parent | f5e2fde47388fce5e23bf6f4abee0ae860a2e022 (diff) | |
download | haskell-270fbe8512f04b6107755fa22bdec62205c0a567.tar.gz |
Replace queryCygwinTerminal with Win32's isMinTTYHandle
`SysTools.Terminal.queryCygwinTerminal` now exists in the `Win32`
library under the name `isMinTTYHandle` since `Win32-2.5.0.0`.
(GHC 8.4.4 ships with `Win32-2.6.1.0`, so this is well within GHC's
support window.) We can therefore get replace `queryCygwinTerminal`
with `isMinTTYHandle` and delete quite a bit of code from
`SysTools.Terminal` in the process.
Along the way I needed to replace some uses of `#if defined x` with
`#if defined(x)` to please the CI linters.
Diffstat (limited to 'compiler/cmm/Cmm.hs')
0 files changed, 0 insertions, 0 deletions