diff -rauN firefox-102.9.0/modules/fdlibm/src/math_private.h firefox-102.9.0-fdlibm-patch/modules/fdlibm/src/math_private.h --- firefox-102.9.0/modules/fdlibm/src/math_private.h 2023-03-10 00:59:37.000000000 +0100 +++ firefox-102.9.0-fdlibm-patch/modules/fdlibm/src/math_private.h 2023-04-09 11:29:38.109553268 +0200 @@ -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; /*