aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-06-06 03:39:03 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-06-06 03:39:03 +0000
commit0d68a433ae129a914606d24718c1b6498b9b5ffd (patch)
treefcce32b105070f3cee527c0c55e3b3405b8ba94d /contrib/gcc
parent670fd7ad586ca5c61284bdf415865ca51e57a046 (diff)
downloadsrc-0d68a433ae129a914606d24718c1b6498b9b5ffd.tar.gz
src-0d68a433ae129a914606d24718c1b6498b9b5ffd.zip
Allow the specification of LONG_TYPE_SIZE on the command line.
Submitted by: bde
Notes
Notes: svn path=/head/; revision=97912
Diffstat (limited to 'contrib/gcc')
-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 df2f346e67ec..37d42324ba15 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