diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-04-25 18:05:37 +0000 |
---|---|---|
committer | Jan Kratochvil <jkratoch@gcc.gnu.org> | 2011-04-25 18:05:37 +0000 |
commit | e5b0dad8fdd72fa4d19343b47546c89f2595c864 (patch) | |
tree | 1aa599e5471722eac22c8d3e11ec5a6fc3e2af51 /libcpp/system.h | |
parent | 482829acf2c9c685445ef08f6e1300898e1f2468 (diff) | |
download | gcc-e5b0dad8fdd72fa4d19343b47546c89f2595c864.zip gcc-e5b0dad8fdd72fa4d19343b47546c89f2595c864.tar.gz gcc-e5b0dad8fdd72fa4d19343b47546c89f2595c864.tar.bz2 |
ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
include/
* ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
contrib/
* paranoia.cc (ENUM_BITFIELD): Remove.
gcc/
* system.h (ENUM_BITFIELD): Remove.
libcpp/
* system.h (ENUM_BITFIELD): Remove.
From-SVN: r172933
Diffstat (limited to 'libcpp/system.h')
-rw-r--r-- | libcpp/system.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libcpp/system.h b/libcpp/system.h index 5bdfeed..aa458fc 100644 --- a/libcpp/system.h +++ b/libcpp/system.h @@ -357,15 +357,6 @@ extern void abort (void); || (__STDC_VERSION__ >= 199901L)) #endif -/* Be conservative and only use enum bitfields with GCC. - FIXME: provide a complete autoconf test for buggy enum bitfields. */ - -#if (GCC_VERSION > 2000) -#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE -#else -#define ENUM_BITFIELD(TYPE) unsigned int -#endif - #ifndef offsetof #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) #endif |