summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-06 03:39:03 +0000
committerobrien <obrien@FreeBSD.org>2002-06-06 03:39:03 +0000
commit7dfe2c583e748ee51e9baa53cd03c9e7b4a1d211 (patch)
treefcce32b105070f3cee527c0c55e3b3405b8ba94d /contrib/gcc/config
parent28b73f7a82880e5da37cfeae97575ee7a71445cc (diff)
downloadFreeBSD-src-7dfe2c583e748ee51e9baa53cd03c9e7b4a1d211.zip
FreeBSD-src-7dfe2c583e748ee51e9baa53cd03c9e7b4a1d211.tar.gz
Allow the specification of LONG_TYPE_SIZE on the command line.
Submitted by: bde
Diffstat (limited to 'contrib/gcc/config')
-rw-r--r--contrib/gcc/config/i386/i386.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/gcc/config/i386/i386.h b/contrib/gcc/config/i386/i386.h
index df2f346..37d4232 100644
--- a/contrib/gcc/config/i386/i386.h
+++ b/contrib/gcc/config/i386/i386.h
@@ -701,7 +701,9 @@ extern int ix86_arch;
#define SHORT_TYPE_SIZE 16
#define INT_TYPE_SIZE 32
#define FLOAT_TYPE_SIZE 32
+#ifndef LONG_TYPE_SIZE
#define LONG_TYPE_SIZE BITS_PER_WORD
+#endif
#define MAX_WCHAR_TYPE_SIZE 32
#define DOUBLE_TYPE_SIZE 64
#define LONG_LONG_TYPE_SIZE 64
OpenPOWER on IntegriCloud