From: William Lallemand Date: Tue, 28 Apr 2026 16:07:54 +0000 (+0200) Subject: BUILD: 51d: fix bool definition on dummy lib v4 X-Git-Tag: v3.4-dev10~22 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=29b974fc4ea0e3682c59e0b081a0bd2b5a4d0bc4;p=haproxy.git BUILD: 51d: fix bool definition on dummy lib v4 Modern compiler breaks when defining bool, false and true. Include instead. $ make -j$(nproc) TARGET=linux-glibc USE_51DEGREES=1 \ 51DEGREES_VER=4 51DEGREES_SRC=addons/51degrees/dummy/v4hash/ --- diff --git a/addons/51degrees/dummy/v4hash/hash/hash.h b/addons/51degrees/dummy/v4hash/hash/hash.h index 5d04d1766..5b114d26c 100644 --- a/addons/51degrees/dummy/v4hash/hash/hash.h +++ b/addons/51degrees/dummy/v4hash/hash/hash.h @@ -40,8 +40,7 @@ #include #include -typedef int bool; -enum { false, true }; +#include typedef unsigned char byte;