aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1992-10-19 14:58:53 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1992-10-19 14:58:53 +0000
commit43365a358e38302d8d2536a5865541ea80b29b4e (patch)
tree0fc6092e672aa97295cf53a7721d37de3ceb2660
parent8ba23f20ecd205ee10f2926d5d3823c16173ae30 (diff)
downloadgcc-43365a358e38302d8d2536a5865541ea80b29b4e.zip
gcc-43365a358e38302d8d2536a5865541ea80b29b4e.tar.gz
gcc-43365a358e38302d8d2536a5865541ea80b29b4e.tar.bz2
RISC-OS System V patches for index/rindex.
From-SVN: r2514
-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