From ca9571a110eb820ca24b1bca33a86440f80ec7e1 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 29 Jun 2023 21:26:22 +0200 Subject: [PATCH] Fix no stdio: M_CSTR macro cannot be available if there is no stdio --- m-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-core.h b/m-core.h index 97b2d9ce..34dcbb04 100644 --- a/m-core.h +++ b/m-core.h @@ -2910,7 +2910,7 @@ M_PARSE_DEFAULT_TYPE_DEF(m_core_parse_ldouble, long double, strtold, ) # define M_MIN_FLEX_ARRAY_SIZE #endif -#if M_USE_STDARG +#if M_USE_STDARG && M_USE_STDIO /* Define the allocation of the temporary string used by M_CSTR Default is 256 bytes (so 255 characters excluding the final null char).