aboutsummaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/mips-tdump.c')
-rw-r--r--gcc/mips-tdump.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c
index a1a02cd..5f30aba 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