fix(build): use GNU printf checker on MinGW

This commit is contained in:
tpglitch committed 2026-11-09 14:54:54 -06:00
1 parent e23ba0ec99
commit b06a67b950
1 file changed
+2 -2
+2 -2
View File
@@ -31,8 +31,8 @@ extern "C" {
#define _USE_MATH_DEFINES
// mingw: match GNU printf enabled via _ISOC99_SOURCE, not ms_printf
#ifdef __MINGW_PRINTF_FORMAT
#define PM3_PRINTF_FORMAT __MINGW_PRINTF_FORMAT
#ifdef __MINGW32__
#define PM3_PRINTF_FORMAT gnu_printf
#else
#define PM3_PRINTF_FORMAT printf
#endif