Move #undef index/rindex up higher.
authorMichael Meissner <meissner@gcc.gnu.org>
Tue, 10 Nov 1992 22:17:36 +0000 (22:17 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 10 Nov 1992 22:17:36 +0000 (22:17 +0000)
From-SVN: r2740

gcc/mips-tdump.c

index a650a51283873f0054b313aee803ff5cf448d60d..37134aa3a5c044fe3df5b3c99ae3d7b4a35ec73a 100644 (file)
@@ -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