]> gcc.gnu.org Git - gcc.git/commitdiff
mips.h (SIZE_TYPE, [...]): Override previously definitions.
authorAlexandre Oliva <aoliva@redhat.com>
Sun, 6 Oct 2002 17:50:42 +0000 (17:50 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sun, 6 Oct 2002 17:50:42 +0000 (17:50 +0000)
* config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
previously definitions.

From-SVN: r57865

gcc/ChangeLog
gcc/config/mips/mips.h

index 1f8895bb35f1b8f1c6570179535c68f91f7e5180..0f66fd0cfb3f270c0440cda1eb2601fb8fec4109 100644 (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.
index 61e827bdf90cbd1e3ac9e9a0f5d75b77531f26a7..87513a2bda047ca5c8b3f23e435e0d4c9f72cd15 100644 (file)
@@ -4584,15 +4584,14 @@ while (0)
 #define MIPS_UNMARK_STAB(code) ((code)-CODE_MASK)
 
 \f
-/* 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.  */
This page took 0.081977 seconds and 5 git commands to generate.