RISC-OS System V patches for index/rindex.
authorMichael Meissner <meissner@gcc.gnu.org>
Mon, 19 Oct 1992 14:58:53 +0000 (14:58 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Mon, 19 Oct 1992 14:58:53 +0000 (14:58 +0000)
From-SVN: r2514

gcc/mips-tdump.c

index a1a02cd00e9916555e59d9da45915fcc0eb47114..5f30abaa06249da143b42f731c0464d32b1b8c98 100644 (file)
@@ -51,6 +51,12 @@ typedef char *CPTR_T;
 #define uint   unsigned int
 #define ulong  unsigned long
 
+#ifdef index
+#undef index
+#undef rindex
+#endif
+
+
 /* Do to size_t being defined in sys/types.h and different
    in stddef.h, we have to do this by hand.....  Note, these
    types are correct for MIPS based systems, and may not be