summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/freebsd-spec.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/freebsd-spec.h')
-rw-r--r--contrib/gcc/config/freebsd-spec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/gcc/config/freebsd-spec.h b/contrib/gcc/config/freebsd-spec.h
index e7995e8..cc9d042 100644
--- a/contrib/gcc/config/freebsd-spec.h
+++ b/contrib/gcc/config/freebsd-spec.h
@@ -185,3 +185,8 @@ is built with the --enable-threads configure-time option.} \
#ifdef HAVE_LD_AS_NEEDED
#define USE_LD_AS_NEEDED 1
#endif
+
+#define FBSD_SIZE_TYPE \
+ (POINTER_SIZE == 64 ? "long unsigned int" : "unsigned int")
+#define FBSD_PTRDIFF_TYPE \
+ (POINTER_SIZE == 64 ? "long int" : "int")
OpenPOWER on IntegriCloud