commit 83479b95abae84b4b2b4a0331503298ddc5ff47b
parent be01b361d8ff0e8bf8f93cdf4e4f1055ecd341c2
Author: Andreas Schneider <asn@cryptomilk.org>
Date: Mon, 27 Jan 2025 16:57:23 +0100
fix(mpack): remove invalid bool definition
This causes build failures with gcc 15.
Fixes #31723
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/mpack/conv.h b/src/mpack/conv.h
@@ -14,10 +14,6 @@ typedef mpack_sint32_t mpack_sintmax_t;
typedef mpack_uint32_t mpack_uintmax_t;
#endif
-#ifndef bool
-# define bool unsigned
-#endif
-
MPACK_API mpack_token_t mpack_pack_nil(void) FUNUSED FPURE;
MPACK_API mpack_token_t mpack_pack_boolean(unsigned v) FUNUSED FPURE;
MPACK_API mpack_token_t mpack_pack_uint(mpack_uintmax_t v) FUNUSED FPURE;