| commit | cf626ef8965e062e29d4665590aa2920dcd54e75 | [log] [tgz] |
|---|---|---|
| author | Martin Storsjö <martin@martin.st> | Fri Sep 29 23:44:04 2017 +0300 |
| committer | Martin Storsjö <martin@martin.st> | Sat Sep 30 22:20:34 2017 +0300 |
| tree | e59ebc2443a3513be2435fa43a8b5dad2e46a02a | |
| parent | 7cde6573c435830c75fd5d915444388c27aff1e0 [diff] |
headers: Fix the declaration of _vscprintf Previously, the ifdefs were misplaced, leading to this function not being declared 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 state of the __USE_MINGW_ANSI_STDIO define. Signed-off-by: Martin Storsjö <martin@martin.st>