From: Mike Hommey Date: Fri, 26 Nov 2021 21:49:44 +0000 (+0900) Subject: Fix math_private.h for i386 FTBFS X-Git-Tag: archive/raspbian/91.5.0esr-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cce2354717f529fb3e949cc13e7a56f9f4ff1443;p=firefox-esr.git Fix math_private.h for i386 FTBFS Gbp-Pq: Topic debian-hacks Gbp-Pq: Name Fix-math_private.h-for-i386-FTBFS.patch --- diff --git a/modules/fdlibm/src/math_private.h b/modules/fdlibm/src/math_private.h index 51d79f9c2ec..fafd7d6fc1e 100644 --- a/modules/fdlibm/src/math_private.h +++ b/modules/fdlibm/src/math_private.h @@ -30,7 +30,11 @@ * Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t */ +#if defined __FLT_EVAL_METHOD__ && (__FLT_EVAL_METHOD__ == 2) +typedef long double __double_t; +#else typedef double __double_t; +#endif typedef __double_t double_t; /*