From 42deac07704a09257cee1e1c5bc32ee9477eae4e Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Sun, 30 Jul 2017 15:14:24 +0200 Subject: [PATCH] [liba] stdbool.h defines true and false Change-Id: I83ad538bdfc482af1c760a4c4609633ede42053f --- liba/include/stdbool.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/liba/include/stdbool.h b/liba/include/stdbool.h index 5c470111a..07505e9e3 100644 --- a/liba/include/stdbool.h +++ b/liba/include/stdbool.h @@ -2,7 +2,12 @@ #define LIBA_STDBOOL_H #ifndef __cplusplus + typedef char bool; + +#define true 1 +#define false 0 + #endif #endif