diff --git a/sys/include/ape/stdbool.h b/sys/include/ape/stdbool.h new file mode 100644 index 000000000..d0806ff65 --- /dev/null +++ b/sys/include/ape/stdbool.h @@ -0,0 +1,12 @@ +#ifndef __STDBOOL_H__ +#define __STDBOOL_H__ + +/* Strictly speaking, this should be a built-in type. */ +typedef char _Bool; + +#define bool _Bool +#define true 1 +#define false 0 +#define __bool_true_false_are_defined 1 + +#endif