Skip to content

Prefer use of __MINGW_PRINTF/SCANF_FORMAT if available.

Nick Mathewson requested to merge nickm/tor:bug40355_part2 into main

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.

Closes #40355 (closed).

Merge request reports