summaryrefslogtreecommitdiff
path: root/gnu/gcc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-12-12 18:51:43 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-12-12 18:51:43 +0000
commitc421eeeee1b240d51f78c0667f3dec7afad817c7 (patch)
tree84ef577d9194f9cd87b7e6f4d1fd318177752c82 /gnu/gcc
parentfd28d7464e0da448da723b2e6f3757263dc96339 (diff)
Make sure GCC's idea about size_t and ptrdiff_t matches what we have in
<sys/types.h>. ok miod@
Diffstat (limited to 'gnu/gcc')
-rw-r--r--gnu/gcc/gcc/config/sparc/openbsd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/gcc/gcc/config/sparc/openbsd.h b/gnu/gcc/gcc/config/sparc/openbsd.h
index b50733dad94..66c10a0a5f3 100644
--- a/gnu/gcc/gcc/config/sparc/openbsd.h
+++ b/gnu/gcc/gcc/config/sparc/openbsd.h
@@ -43,6 +43,12 @@ Boston, MA 02110-1301, USA. */
"
/* Layout of source language data types. */
+#undef SIZE_TYPE
+#define SIZE_TYPE "long unsigned int"
+
+#undef PTRDIFF_TYPE
+#define PTRDIFF_TYPE "long int"
+
#undef WCHAR_TYPE
#define WCHAR_TYPE "int"