2003-07-07 Jeff Johnston <jjohnstn@redhat.com>

* libc/include/stdbool.h: Removed as this is defined by gcc.
This commit is contained in:
Jeff Johnston 2003-07-07 22:31:08 +00:00
parent a711a5af45
commit 74aa9d7d2d
2 changed files with 4 additions and 22 deletions

View File

@ -1,3 +1,7 @@
2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdbool.h: Removed as this is defined by gcc.
2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
* libc/include/stdbool.h: New header file defined by C99.

View File

@ -1,22 +0,0 @@
#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_ */