4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-25 08:37:33 +08:00

23 lines
347 B
C
Raw Normal View History

#ifndef _STDBOOL_H_
#define _STDBOOL_H_
#ifndef __cplusplus
#undef bool
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
#define bool _Bool
#else
#define bool unsigned char
#endif
#undef false
#define false 0
#undef true
#define true 1
#define __bool_true_false_are_defined 1
#endif /* !__cplusplus */
#endif /* _STDBOOL_H_ */