[commit: ghc] master: Removes all occurrences of __MINGW32__ (#10485) (0db0ac4)
git at git.haskell.org
git at git.haskell.org
Thu Jun 11 18:33:43 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/0db0ac4a255931036c5859c3f22108f4e27ccd11/ghc
>---------------------------------------------------------------
commit 0db0ac4a255931036c5859c3f22108f4e27ccd11
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Thu Jun 11 20:31:24 2015 +0200
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
>---------------------------------------------------------------
0db0ac4a255931036c5859c3f22108f4e27ccd11
libraries/base/System/Posix/Internals.hs | 14 +++++++-------
libraries/base/cbits/Win32Utils.c | 2 +-
libraries/base/cbits/consUtils.c | 4 ++--
libraries/base/cbits/iconv.c | 2 +-
libraries/base/cbits/inputReady.c | 4 ++--
libraries/base/include/HsBase.h | 22 +++++++++++-----------
utils/hp2ps/Main.c | 2 +-
utils/touchy/touchy.c | 2 +-
8 files changed, 26 insertions(+), 26 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 0db0ac4a255931036c5859c3f22108f4e27ccd11
More information about the ghc-commits
mailing list