Ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a25176072e02db9254f0e0c84c805cd)
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_ */