aboutsummaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1992-11-10 22:17:36 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1992-11-10 22:17:36 +0000
commitb4c4a233c41fe081d369299344ce0ee2d905ab11 (patch)
tree42b3ff5c00e946c37a9a689b9105a8d45d16d047 /gcc/mips-tdump.c
parent35ede5b0ca51f6b837e94671a1dc7487d78a1a63 (diff)
Move #undef index/rindex up higher.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2740 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tdump.c')
-rw-r--r--gcc/mips-tdump.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c
index a650a512838..37134aa3a5c 100644
--- a/gcc/mips-tdump.c
+++ b/gcc/mips-tdump.c
@@ -26,6 +26,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <errno.h>
#include "config.h"
+#ifdef index
+#undef index
+#undef rindex
+#endif
#ifndef CROSS_COMPILE
#include <a.out.h>
#else
@@ -60,11 +64,6 @@ 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