Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

stdbool.h
Go to the documentation of this file.
1 /*
2 * missing/stdbool.h: Quick alternative of C99 stdbool.h
3 */
4
5 #ifndef _MISSING_STDBOOL_H_
6 #define _MISSING_STDBOOL_H_
7
8 #ifndef __bool_true_false_are_defined
9 # ifndef __cplusplus
10 # undef bool
11 # undef false
12 # undef true
13 # define bool signed char
14 # define false 0
15 # define true 1
16 # define __bool_true_false_are_defined 1
17 # endif
18 #endif
19
20 #endif /* _MISSING_STDBOOL_H_ */