scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit dc40bafa82c336fa2c05d4fab11e5639a85ec3c6
parent 0f9d9414cad0c192b62d0c8839fdb7b48692de77
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 17 Feb 2017 11:12:42 +0100

[libc] Add stdbool.h

Diffstat:
Alibc/include/stdbool.h | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/libc/include/stdbool.h b/libc/include/stdbool.h @@ -0,0 +1,10 @@ +/* See LICENSE file for copyright and license details. */ +#ifndef _STDBOOL_H +#define _STDBOOL_H + +#define bool _Bool +#define true ((bool) 1) +#define false ((bool) 0) +#define __bool_true_false_are_defined 1 + +#endif