diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-07-08 02:31:08 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-07-08 02:31:08 +0400 |
commit | 74aa9d7d2de50267fc7ddf9cf3940f027aa18f47 (patch) | |
tree | 69a09a9d2a01d5571eb51145c55313cc47519a03 /newlib | |
parent | a711a5af45a8ab064c766da2e50dd691ecb82460 (diff) |
2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdbool.h: Removed as this is defined by gcc.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/stdbool.h | 22 |
2 files changed, 4 insertions, 22 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6c4251d01..6678bc4d2 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -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. diff --git a/newlib/libc/include/stdbool.h b/newlib/libc/include/stdbool.h deleted file mode 100644 index 291740ae9..000000000 --- a/newlib/libc/include/stdbool.h +++ /dev/null @@ -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_ */ |