From 83479b95abae84b4b2b4a0331503298ddc5ff47b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 27 Jan 2025 16:57:23 +0100 Subject: [PATCH] fix(mpack): remove invalid bool definition This causes build failures with gcc 15. Fixes #31723 --- src/mpack/conv.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mpack/conv.h b/src/mpack/conv.h index 71f14a067e..e46a2b16d7 100644 --- 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;