From bfa46e25e013af461b940ecd79d8b27bedecbc14 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 24 Oct 2020 17:02:25 +0200 Subject: libpayload: Add Change-Id: I972c78c5da4136bc61e78fcbb52d7d162cc1b698 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/46721 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- payloads/libpayload/include/stdbool.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 payloads/libpayload/include/stdbool.h (limited to 'payloads') diff --git a/payloads/libpayload/include/stdbool.h b/payloads/libpayload/include/stdbool.h new file mode 100644 index 0000000000..33858d51f2 --- /dev/null +++ b/payloads/libpayload/include/stdbool.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ + +#ifndef __STDBOOL_H +#define __STDBOOL_H + +#define bool _Bool +#define false 0 +#define true (!false) + +#endif -- cgit v1.2.3