4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-26 17:17:20 +08:00
Jeff Johnston 0a447ef392 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
* libc/include/stdbool.h: New header file defined by C99.
2003-07-03 17:11:08 +00:00

23 lines
347 B
C

#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_ */