Ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5ad0e4688e963d9de019557c78feed9)
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_ */