MinGW: always use "-D__USE_MINGW_ANSI_STDIO"
authorRedirect 'Slash' NIL <redirect.slash.nil@gmail.com>
Tue, 20 Oct 2009 00:55:40 +0000 (17:55 -0700)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 20 Oct 2009 00:55:40 +0000 (17:55 -0700)
commitfb61f527312aa9aef1b5286e63d60ae8591e6bd7
treee98af8ceae7bd85e32b01253f9f10847e54c88d9
parent0388a9c0e5c9724950d5a41e3b7cf83fa26a1898
MinGW: always use "-D__USE_MINGW_ANSI_STDIO"

This is unfortunately needed to make stdio work like OpenOCD expects -- matching
the ANSI-C standard, instead of MS-Windows.

I tested it in both MinGW-W64 on Vista 64 and MinGW-W32 on XP, and I don't
see any adverse effects to enabling it for all MinGW versions.
configure.in