From 498887c8a9e01d7c18822f147fc74353250a3e98 Mon Sep 17 00:00:00 2001 From: Chris Demetriou Date: Thu, 31 Jul 2003 00:46:45 +0000 Subject: [PATCH] mips.h (SIZE_TYPE, [...]): Undef these macros before defining them. 2003-07-30 Chris Demetriou * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these macros before defining them. From-SVN: r69985 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.h | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 358f141a078..1d97cd95a8e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-30 Chris Demetriou + + * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these + macros before defining them. + 2003-07-31 Ulrich Weigand * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH, diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 5acc839d05f..c2985f35772 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -3817,13 +3817,11 @@ while (0) /* Default definitions for size_t and ptrdiff_t. We must override the definitions from ../svr4.h on mips-*-linux-gnu. */ -#ifndef SIZE_TYPE +#undef SIZE_TYPE #define SIZE_TYPE (POINTER_SIZE == 64 ? "long unsigned int" : "unsigned int") -#endif -#ifndef PTRDIFF_TYPE +#undef PTRDIFF_TYPE #define PTRDIFF_TYPE (POINTER_SIZE == 64 ? "long int" : "int") -#endif /* See mips_expand_prologue's use of loadgp for when this should be true. */ -- 2.30.2