From 3e9bdcca84e22c997a071dddf37449ead85aed75 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Sat, 16 Jun 2018 04:49:57 +1000 Subject: Initial commit --- include/stdbool.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/stdbool.h (limited to 'include/stdbool.h') diff --git a/include/stdbool.h b/include/stdbool.h new file mode 100644 index 0000000..f96b223 --- /dev/null +++ b/include/stdbool.h @@ -0,0 +1,17 @@ +/* + * stdbool.h + * + * Defines bool, true and false + */ + +#ifndef _STDBOOL_H +#define _STDBOOL_H + +typedef char bool; + +#undef false +#define false 0 +#undef true +#define true 1 + +#endif -- cgit v1.3