diff options
author | Daniel Schepler <dschepler@gmail.com> | 2012-11-18 10:04:54 -0800 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2012-11-18 13:32:02 -0800 |
commit | 6a5843d92fca254f0b27c3fee88a11840034ce32 (patch) | |
tree | 8c99606eedfcb9b29e31b946be5abc9d7869d8e9 | |
parent | 89b53dfd8381cdca1763526c45b65eb79b00bad6 (diff) | |
download | coreutils-6a5843d92fca254f0b27c3fee88a11840034ce32.tar.xz |
build: fix compilation failure on x32
* src/factor.c [HAVE_ATTRIBUTE_MODE]: Fix typo in #if test:
s/HAVE_LONG_LONG/HAVE_LONG_LONG_INT/. Otherwise, factor.c would
elicit assembler errors on x32: it was incorrectly defining DItype
to long instead of long long. Patch and report in
http://bugs.debian.org/693337; Mike Stone notified upstream.
-rw-r--r-- | src/factor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factor.c b/src/factor.c index 84392621f..6d1d17a4b 100644 --- a/src/factor.c +++ b/src/factor.c @@ -147,7 +147,7 @@ typedef unsigned int UDItype __attribute__ ((mode (DI))); typedef unsigned char UQItype; typedef long SItype; typedef unsigned long int USItype; -# if HAVE_LONG_LONG +# if HAVE_LONG_LONG_INT typedef long long int DItype; typedef unsigned long long int UDItype; # else /* Assume `long' gives us a wide enough type. Needed for hppa2.0w. */ |