summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index e07a7d32f45..465bdbe4551 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -41,6 +41,10 @@ cpp_reader parse_in;
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE TYPE_PRECISION (wchar_type_node)
+#ifndef PTRDIFF_TYPE
+#define PTRDIFF_TYPE "long int"
+#endif
+
#ifndef WINT_TYPE
#define WINT_TYPE "unsigned int"
#endif