aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/xm-iris5.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/xm-iris5.h')
-rw-r--r--gcc/config/mips/xm-iris5.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/config/mips/xm-iris5.h b/gcc/config/mips/xm-iris5.h
index 72387b29ccc..f3eb9cdb753 100644
--- a/gcc/config/mips/xm-iris5.h
+++ b/gcc/config/mips/xm-iris5.h
@@ -1,9 +1,11 @@
#include "mips/xm-mips.h"
#define USG
-#define HAVE_VPRINTF
-#define bcopy(a,b,c) memcpy (b,a,c)
-#define bzero(a,b) memset (a,0,b)
-#define bcmp(a,b,c) memcmp (a,b,c)
+/* On SGI IRIX 5.3, inttypes.h clashes with sys/types.h, but the clash
+ (when compiled with GCC) is a warning, so configure.in thinks it's OK
+ to use it. Work around this problem. */
+#ifdef HAVE_INTTYPES_H
+#undef HAVE_INTTYPES_H
+#endif