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/115.14.0esr-1+rpi1^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=50fd3185c24a5921124c4cdffaaa0e78fadf9747;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 f4373f27834..632d2c4c619 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; typedef float __float_t;