mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Only redefine size_t and CHAR_BIT if they are not already defined.
This commit is contained in:
@@ -36,12 +36,15 @@ Cambridge, MA 02139, USA.
|
||||
# define NULL (void *) 0
|
||||
# endif
|
||||
#else
|
||||
# undef size_t
|
||||
# define size_t unsigned int
|
||||
# define CHAR_BIT 8
|
||||
# define PTR char *
|
||||
# define CONST /* nothing */
|
||||
# define PARAMS(paramlist) ()
|
||||
# ifndef size_t
|
||||
# define size_t unsigned int
|
||||
# endif
|
||||
# ifndef CHAR_BIT
|
||||
# define CHAR_BIT 8
|
||||
# endif
|
||||
# ifndef NULL
|
||||
# define NULL 0
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user