From 6a5843d92fca254f0b27c3fee88a11840034ce32 Mon Sep 17 00:00:00 2001 From: Daniel Schepler Date: Sun, 18 Nov 2012 10:04:54 -0800 Subject: 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. --- src/factor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- cgit v1.2.3-54-g00ecf