Skip to content
Snippets Groups Projects
Commit de34a714 authored by Ben Gamari's avatar Ben Gamari
Browse files

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.
parent dbc8c0f8
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment