forked from Imagelibrary/binutils-gdb
gdb/
* defs.h (ENUM_BITFIELD): Remove. include/ * bfdlink.h (ENUM_BITFIELD): Remove. merge from gcc: include/ * ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
This commit is contained in:
@@ -271,15 +271,6 @@ struct cleanup
|
||||
void *arg;
|
||||
};
|
||||
|
||||
/* Be conservative and use enum bitfields only with GCC.
|
||||
This is copied from gcc 3.3.1, system.h. */
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 2)
|
||||
#define ENUM_BITFIELD(TYPE) enum TYPE
|
||||
#else
|
||||
#define ENUM_BITFIELD(TYPE) unsigned int
|
||||
#endif
|
||||
|
||||
/* vec.h-style vectors of strings want a typedef for char * . */
|
||||
|
||||
typedef char * char_ptr;
|
||||
|
||||
Reference in New Issue
Block a user