1/* stdbool.h for GNU. */ 2#ifndef __STDBOOL_H__ 3#define __STDBOOL_H__ 1 4 5/* The type `bool' must promote to `int' or `unsigned int'. The constants 6 `true' and `false' must have the value 0 and 1 respectively. */ 7typedef enum 8 { 9 false = 0, 10 true = 1 11 } bool; 12 13/* The names `true' and `false' must also be made available as macros. */ 14#define false false 15#define true true 16 17/* Signal that all the definitions are present. */ 18#define __bool_true_false_are_defined 1 19 20#endif /* stdbool.h */ 21