summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2007-06-16 01:09:43 +0000
committermillert <millert@openbsd.org>2007-06-16 01:09:43 +0000
commit49573e758a87660d157bdef3c02e0eda60ad64ec (patch)
tree05b6e11e57d99b93c91aa729a78d5d9a53d77b9e
parentWhen EOVERFLOW was added, it broke the zaurus bootblocks (diff)
downloadwireguard-openbsd-49573e758a87660d157bdef3c02e0eda60ad64ec.tar.xz
wireguard-openbsd-49573e758a87660d157bdef3c02e0eda60ad64ec.zip
INTMAX_TYPE and UINTMAX_TYPE are always in terms of long long on
OpenBSD, regardless of the size of a long. OK kettenis@ espie@
-rw-r--r--gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/arm/openbsd.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/i386/openbsd.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/pa/openbsd.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/sh/openbsd.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h6
-rw-r--r--gnu/usr.bin/gcc/gcc/config/vax/openbsd.h6
12 files changed, 72 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h
index 7ba13cdd227..8d2a8bca068 100644
--- a/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/alpha/openbsd.h
@@ -57,6 +57,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h b/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h
index 4517cd44304..3e3f0741891 100644
--- a/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/arm/openbsd.h
@@ -127,6 +127,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/i386/openbsd.h b/gnu/usr.bin/gcc/gcc/config/i386/openbsd.h
index f4ad2aebc12..599b2b4188c 100644
--- a/gnu/usr.bin/gcc/gcc/config/i386/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/i386/openbsd.h
@@ -42,6 +42,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h b/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h
index abd62084f45..c351710c61b 100644
--- a/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h
+++ b/gnu/usr.bin/gcc/gcc/config/i386/openbsd64.h
@@ -58,6 +58,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h b/gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h
index d66baa58dcc..0b78171d5dc 100644
--- a/gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h
+++ b/gnu/usr.bin/gcc/gcc/config/i386/openbsdelf.h
@@ -61,6 +61,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h b/gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h
index aabdce46e55..4107ddf3376 100644
--- a/gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/m68k/openbsd.h
@@ -49,6 +49,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h b/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h
index d688e2c8dac..9d10aa1b493 100644
--- a/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/m88k/openbsd.h
@@ -46,6 +46,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h b/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h
index a161ac9c400..38f88880543 100644
--- a/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/pa/openbsd.h
@@ -66,6 +66,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h b/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h
index 25e92a18bec..ddcfa1a6529 100644
--- a/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h
@@ -121,6 +121,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/sh/openbsd.h b/gnu/usr.bin/gcc/gcc/config/sh/openbsd.h
index 3d838d391d8..35df14dedf1 100644
--- a/gnu/usr.bin/gcc/gcc/config/sh/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/sh/openbsd.h
@@ -40,6 +40,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h b/gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h
index e5ed7fcee43..ae877325259 100644
--- a/gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/sparc/openbsd.h
@@ -40,6 +40,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"
diff --git a/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h b/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h
index 4ec250b1c05..4477d92cc27 100644
--- a/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/vax/openbsd.h
@@ -39,6 +39,12 @@ Boston, MA 02111-1307, USA. */
#undef PTRDIFF_TYPE
#define PTRDIFF_TYPE "long int"
+#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"