summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2009-05-18 18:42:55 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2009-05-18 18:42:55 +0000
commit6c7b8b1043a45fc0a3ba537cbb7b14f8a7de14ef (patch)
treec5b9016695a76ebb878f01b87badddc039110ab7
parent9e3b93c695f7d6235ef023bd30ab23bc52f59344 (diff)
INTMAX_TYPE / UINTMAX_TYPE are always in terms of long long.
reported by sturm@. fixes libarchive on sparc64 for naddy@, sturm@. mips is missing them too; but it has not been tested. ok millert@, miod@.
-rw-r--r--gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h b/gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h
index ea77d6360aa..af9e8f763a0 100644
--- a/gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h
+++ b/gnu/usr.bin/gcc/gcc/config/sparc/openbsd64.h
@@ -58,6 +58,12 @@ 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"