10 lines
239 B
C
10 lines
239 B
C
#ifndef _STDBOOL_H
|
|
#define _STDBOOL_H
|
|
|
|
/* Otherwise, bool, true and false are keywords. */
|
|
#if !(defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L)
|
|
typedef _Bool bool;
|
|
enum : bool { false = 0, true = 1 };
|
|
#endif
|
|
|
|
#endif // _STDBOOL_H
|