mips.h (SIZE_TYPE, [...]): Override previously definitions.

* config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
previously definitions.

From-SVN: r57865
This commit is contained in:
Alexandre Oliva 2002-10-06 17:50:42 +00:00 committed by Alexandre Oliva
parent 7c7c549e2c
commit 48b80d93d2
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2002-10-06 Alexandre Oliva <aoliva@redhat.com>
* config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
previously definitions.
2002-10-06 Frank Ch. Eigler <fche@redhat.com>
* cppinit.c (init_standard_includes, parse_option): Use strncmp.

View File

@ -4584,15 +4584,14 @@ while (0)
#define MIPS_UNMARK_STAB(code) ((code)-CODE_MASK)
/* Default definitions for size_t and ptrdiff_t. */
/* 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 (Pmode == DImode ? "long unsigned int" : "unsigned int")
#endif
#ifndef PTRDIFF_TYPE
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE (Pmode == DImode ? "long int" : "int")
#endif
/* See mips_expand_prologue's use of loadgp for when this should be
true. */