xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable POSIX-printf for mingw-hosted builds.

* config/i386/xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable
        POSIX-printf for mingw-hosted  builds.

From-SVN: r197049
This commit is contained in:
Kai Tietz 2013-03-25 15:52:48 +01:00 committed by Kai Tietz
parent c16fd67643
commit f992b9fcea
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-03-25 Kai Tietz <ktietz@redhat.com>
* config/i386/xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable
POSIX-printf for mingw-hosted builds.
2013-03-25 Richard Biener <rguenther@suse.de>
PR middle-end/56694

View File

@ -29,6 +29,12 @@ along with GCC; see the file COPYING3. If not see
/* The st_ino field of struct stat is always 0. */
#define HOST_LACKS_INODE_NUMBERS
#ifdef __MINGW32__
#undef __USE_MINGW_ANSI_STDIO
#define __USE_MINGW_ANSI_STDIO 1
#else
/* MSVCRT does not support the "ll" format specifier for printing
"long long" values. Instead, we use "I64". */
#define HOST_LONG_LONG_FORMAT "I64"
#endif