BUILD: 51d: fix bool definition on dummy lib v4

Modern compiler breaks when defining bool, false and true.
Include <stdbool.h> instead.

$ make -j$(nproc) TARGET=linux-glibc USE_51DEGREES=1 \
   51DEGREES_VER=4 51DEGREES_SRC=addons/51degrees/dummy/v4hash/
This commit is contained in:
William Lallemand 2026-04-28 18:07:54 +02:00
parent 4bffea8579
commit 29b974fc4e

View File

@ -40,8 +40,7 @@
#include <stdlib.h>
#include <inttypes.h>
typedef int bool;
enum { false, true };
#include <stdbool.h>
typedef unsigned char byte;