diff options
author | Chris Demetriou <cgd@broadcom.com> | 2003-07-31 00:46:45 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@gcc.gnu.org> | 2003-07-30 17:46:45 -0700 |
commit | 498887c8a9e01d7c18822f147fc74353250a3e98 (patch) | |
tree | ca700ad4cf3b894c2f449a643701d00cdb52b9c8 | |
parent | a57ee9cd5b7f23b2a25440fef2288b5cccc8024d (diff) | |
download | gcc-498887c8a9e01d7c18822f147fc74353250a3e98.zip gcc-498887c8a9e01d7c18822f147fc74353250a3e98.tar.gz gcc-498887c8a9e01d7c18822f147fc74353250a3e98.tar.bz2 |
mips.h (SIZE_TYPE, [...]): Undef these macros before defining them.
2003-07-30 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these
macros before defining them.
From-SVN: r69985
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 358f141..1d97cd9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-30 Chris Demetriou <cgd@broadcom.com> + + * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Undef these + macros before defining them. + 2003-07-31 Ulrich Weigand <uweigand@de.ibm.com> * config/s390/s390.md (UNSPEC_ROUND, UNSPEC_SETHIGH, diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 5acc839..c2985f3 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. */ |