Reenable asprintf redirect if already using __USE_MINGW_ANSI_STDIO git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5812 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/crt/stdio.h b/mingw-w64-headers/crt/stdio.h index 01d5688..9769aef 100644 --- a/mingw-w64-headers/crt/stdio.h +++ b/mingw-w64-headers/crt/stdio.h
@@ -314,11 +314,6 @@ return __mingw_vsprintf( __stream, __format, __local_argv ); } -#if 0 -/* Disabled due issue of definition in POSIX way in libmingwex, - which could cause troubles on scenarios venure expects those - function in MS formatter style. - So simplest way for now, disable it. */ __mingw_ovr __attribute__ ((__format__ (gnu_printf, 2, 3))) __attribute__((nonnull (1,2))) int asprintf(char **__ret, const char *__format, ...) @@ -336,7 +331,7 @@ { return __mingw_vasprintf( __ret, __format, __local_argv ); } -#endif + /* #ifndef __NO_ISOCEXT */ /* externs in libmingwex.a */ __mingw_ovr __attribute__((__format__ (gnu_printf, 3, 4))) __MINGW_ATTRIB_NONNULL(3)