From 74aa9d7d2de50267fc7ddf9cf3940f027aa18f47 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 7 Jul 2003 22:31:08 +0000 Subject: 2003-07-07 Jeff Johnston * libc/include/stdbool.h: Removed as this is defined by gcc. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/stdbool.h | 22 ---------------------- 2 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 newlib/libc/include/stdbool.h (limited to 'newlib') diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6c4251d..6678bc4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2003-07-07 Jeff Johnston + + * libc/include/stdbool.h: Removed as this is defined by gcc. + 2003-07-03 Shaun Jackman * 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 291740a..0000000 --- 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_ */ -- cgit v1.1