From 43365a358e38302d8d2536a5865541ea80b29b4e Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Mon, 19 Oct 1992 14:58:53 +0000 Subject: [PATCH] RISC-OS System V patches for index/rindex. From-SVN: r2514 --- gcc/mips-tdump.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c index a1a02cd00e9..5f30abaa062 100644 --- a/gcc/mips-tdump.c +++ b/gcc/mips-tdump.c @@ -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 -- 2.30.2