summaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1992-10-19 14:58:53 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1992-10-19 14:58:53 +0000
commit1aee3d38a12d5fc48ed37541bf02789519499107 (patch)
tree0fc6092e672aa97295cf53a7721d37de3ceb2660 /gcc/mips-tdump.c
parentbd594491bcb0d17daf02471df1a8ad1d011f56e2 (diff)
downloadgcc-1aee3d38a12d5fc48ed37541bf02789519499107.tar.gz
RISC-OS System V patches for index/rindex.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2514 138bc75d-0d04-0410-961f-82ee72b054a4
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 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