plan9fox/sys/include/ape/stdbool.h
Ori Bernstein f860f25f05 Add stdbool.h to ape
in accordance with c99:7.16. Used by perl, trivial enough
that I feel ok with adding it before the port is fully done.
2020-05-17 08:18:49 -07:00

13 lines
221 B
C

#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