Re: [Mingw-w64-public] [PATCH] headers: Fix the declaration of _vscprintf

2017-09-30 Thread Martin Storsjö
On Fri, 29 Sep 2017, JonY via Mingw-w64-public wrote: On 09/29/2017 08:48 PM, Martin Storsjö wrote: Previously, the ifdefs were misplaced, leading to this function not being defined at all if building with __USE_MINGW_ANSI_STDIO=1. If targeting ucrtbase.dll, we always need to rely on the

Re: [Mingw-w64-public] [PATCH] headers: Fix the declaration of _vscprintf

2017-09-29 Thread JonY via Mingw-w64-public
On 09/29/2017 08:48 PM, Martin Storsjö wrote: > Previously, the ifdefs were misplaced, leading to this function not > being defined at all if building with __USE_MINGW_ANSI_STDIO=1. > > If targeting ucrtbase.dll, we always need to rely on the > __stdio_common_vsprintf implementation, since

[Mingw-w64-public] [PATCH] headers: Fix the declaration of _vscprintf

2017-09-29 Thread Martin Storsjö
Previously, the ifdefs were misplaced, leading to this function not being defined at all if building with __USE_MINGW_ANSI_STDIO=1. If targeting ucrtbase.dll, we always need to rely on the __stdio_common_vsprintf implementation, since _vscprintf doesn't exist in ucrtbase.dll, regardless of the