summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2009-06-06 19:01:57 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2009-06-06 19:01:57 +0000
commit257989367802cab1d438d74d634d1d4556922ec4 (patch)
treed2ea82aa8df615e0dc5e495755904605c4bdf9ad /gnu
parentacc58279fe10fdf96ea0383a72d4874653fda2ac (diff)
INTMAX_TYPE / UINTMAX_TYPE are always in terms of long long.
reported by sturm@. fixes libarchive on mips64. ok millert@, miod@. tested by jasper@.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/gcc/config/mips/openbsd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/mips/openbsd.h b/gnu/usr.bin/gcc/gcc/config/mips/openbsd.h
index e7ae4ffa585..36fa6c6402b 100644
--- a/gnu/usr.bin/gcc/gcc/config/mips/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/mips/openbsd.h
@@ -104,6 +104,11 @@ Boston, MA 02111-1307, USA. */
/* Layout of source language data types. */
+#undef INTMAX_TYPE
+#define INTMAX_TYPE "long long int"
+
+#undef UINTMAX_TYPE
+#define UINTMAX_TYPE "long long unsigned int"
#undef WCHAR_TYPE
#define WCHAR_TYPE "int"