tor/changes/bug40355_part2
Nick Mathewson c93114ec9e Prefer use of __MINGW_PRINTF/SCANF_FORMAT if available.
Mingw headers sometimes like to define alternative scanf/printf
format attributes depending on whether they're using clang, UCRT,
MINGW_ANSI_STDIO, or the microsoft version of printf/scanf.  This
change attempts to use the right one on the given platform.

This is an attempt to fix part of #40355.
2021-11-05 12:36:34 -04:00

4 lines
197 B
Plaintext

o Minor features (portability):
- Try to prevent a compiler warning about printf arguments that could
sometimes occur on MSYS2 depending on the configuration.
Closes ticket 40355.