summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-06-16 13:22:31 -0400
committerBen Gamari <ben@smart-cactus.org>2018-06-16 13:24:35 -0400
commitde34a71460a920e836b7057b4aac76d6202be890 (patch)
tree1808d5ac8a6413ecb349989640d6f73aa6a9dc40 /rts
parentdbc8c0f8a9a5c307a54f40b51819cc88c1377485 (diff)
downloadhaskell-de34a71460a920e836b7057b4aac76d6202be890.tar.gz
rts: Remove use of __USE_MINGW_ANSI_STDIO
As pointed out in #12951, this was a temporary measure to allow GHC to be bootstrapped on Windows with GHC 7.10. This release is now out of our bootstrap support window so let's remove it.
Diffstat (limited to 'rts')
-rw-r--r--rts/PosixSource.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/rts/PosixSource.h b/rts/PosixSource.h
index edee5fa94e..13fd7b0ff5 100644
--- a/rts/PosixSource.h
+++ b/rts/PosixSource.h
@@ -36,16 +36,3 @@
#define _POSIX_C_SOURCE 200809L
#define _XOPEN_SOURCE 700
#endif
-
-#if defined(mingw32_HOST_OS)
-/* Without this gcc will warn about %ull and the like since some msvcrt versions
- do not support them. See
- https://sourceforge.net/p/mingw-w64/mailman/message/28557333/
-
- Note that this is implied by _POSIX_C_SOURCE in the msys2 toolchain that we
- now use. However, we retain this explicit #define to preserve the ability to
- bootstrap GHC with compilers still using msys (e.g. GHC 7.10.1 and 7.10.2).
- This can be removed in for GHC 8.4. See #12951.
- */
-#define __USE_MINGW_ANSI_STDIO 1
-#endif