#10485: Remove __MINGW32__ from all source files -------------------------------------+------------------------------------- Reporter: thomie | Owner: Berdes Type: task | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: newcomer Operating System: Windows | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D971 -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"0db0ac4a255931036c5859c3f22108f4e27ccd11/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="0db0ac4a255931036c5859c3f22108f4e27ccd11" Removes all occurrences of __MINGW32__ (#10485) In Haskell files, replace `__MINGW32__` by `mingw32_HOST_OS`. In .c and .h files, delete `__MINGW32__` when `_WIN32` is also tested because `_WIN32` is always defined when `__MINGW32__` is. Also replace `__MINGW32__` by `_WIN32` when used standalone for consistency. Differential Revision: https://phabricator.haskell.org/D971 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10485#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler