From 1f6b61737277d3e54131807fd06637e64444a6db Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 10 Nov 2026 07:36:35 +0700 Subject: [PATCH] ui.h: say why PrintAndLogEx is checked as gnu_printf on mingw Co-Authored-By: Claude Opus 5.5 --- client/src/ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/ui.h b/client/src/ui.h index 3083330c1..0b770057a 100644 --- a/client/src/ui.h +++ b/client/src/ui.h @@ -30,7 +30,7 @@ extern "C" { #define _USE_MATH_DEFINES -// mingw: match GNU printf enabled via _ISOC99_SOURCE, not ms_printf +// mingw gcc maps plain printf to ms_printf; client relies on C99 formats (UCRT / ANSI stdio) #ifdef __MINGW32__ #define PM3_PRINTF_FORMAT gnu_printf #else