On Tue, 2 Mar 2021, Liu Hao wrote:

在 2021/3/2 下午3:45, Martin Storsjö 写道:
These are available at least in UCRT.

Signed-off-by: Martin Storsjö <[email protected]>
---
If necessary we could hide them within an #ifdef _UCRT.
---
  mingw-w64-headers/crt/inttypes.h | 15 +++++++++++++++
  1 file changed, 15 insertions(+)



I think you should. I have checked Visual Studio 2013 and neither `printf()` nor `scanf()` supports the `hh` length modifier. Probably only UCRT supports them.

Actually, it turns out that we do have a block with this kind of defines already, right below - but with a slightly odd ifdef around it - sending a new patch.

// Martin

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to