summaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1992-11-10 22:17:36 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1992-11-10 22:17:36 +0000
commitde5849f37316298334503c43b6b63a418c7d0cbe (patch)
tree42b3ff5c00e946c37a9a689b9105a8d45d16d047 /gcc/mips-tdump.c
parent580b8ee2bdd059bc04f38c19b82479934121182a (diff)
downloadgcc-de5849f37316298334503c43b6b63a418c7d0cbe.tar.gz
Move #undef index/rindex up higher.
From-SVN: r2740
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