From 29b974fc4ea0e3682c59e0b081a0bd2b5a4d0bc4 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Tue, 28 Apr 2026 18:07:54 +0200 Subject: [PATCH] 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/ --- addons/51degrees/dummy/v4hash/hash/hash.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/51degrees/dummy/v4hash/hash/hash.h b/addons/51degrees/dummy/v4hash/hash/hash.h index 5d04d17662..5b114d26c8 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; -- 2.47.3