mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
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:
parent
4bffea8579
commit
29b974fc4e
@ -40,8 +40,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
typedef int bool;
|
||||
enum { false, true };
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef unsigned char byte;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user