Avoid multiple link time definitions of _printf() for C++

This commit is contained in:
Keith Marshall
2009-09-01 20:41:55 +00:00
parent d984eb88db
commit 532032a874
2 changed files with 9 additions and 1 deletions

View File

@ -220,7 +220,7 @@ extern int __mingw_stdio_redirect__(vsnprintf)(char*, size_t, const char*, __VAL
* For C++ we use inline implementations, to avoid interference
* with namespace qualification, which may result from using #defines.
*/
# define __mingw_stdio_redirect__ static inline __cdecl __MINGW_NOTHROW
# define __mingw_stdio_redirect__ inline __cdecl __MINGW_NOTHROW
# elif defined __GNUC__
/*