summaryrefslogtreecommitdiff
path: root/package/mpfr/patches/patch-src_mpfr-longlong_h
blob: e68cfa752f257d99d03c30e6c713ae8aa92a43eb (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mpfr-3.1.2.orig/src/mpfr-longlong.h	2013-03-13 16:37:32.000000000 +0100
+++ mpfr-3.1.2/src/mpfr-longlong.h	2014-01-06 16:29:39.854354889 +0100
@@ -1043,7 +1043,7 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO (
 #define UDIV_TIME 100
 #endif /* __mips */
 
-#if (defined (__mips) && __mips >= 3) && W_TYPE_SIZE == 64
+#if (defined (__mips) && __mips >= 3) && W_TYPE_SIZE == 64 && defined (_LP64)
 #if __GMP_GNUC_PREREQ (4,4)
 #define umul_ppmm(w1, w0, u, v) \
   do {									\