From b06a67b9508df05360b09cefade94a3c2eee8759 Mon Sep 17 00:00:00 2001 From: tpglitch <123958345+tpglitch@users.noreply.github.com> Date: Mon, 9 Nov 2026 14:54:54 -0600 Subject: [PATCH] fix(build): use GNU printf checker on MinGW --- client/src/ui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/ui.h b/client/src/ui.h index f81c136ed..3083330c1 100644 --- a/client/src/ui.h +++ b/client/src/ui.h @@ -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