projects
/
firefox-esr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a10925
)
Fix math_private.h for i386 FTBFS
author
Mike Hommey
<mh@glandium.org>
Fri, 26 Nov 2021 21:49:44 +0000
(06:49 +0900)
committer
Mike Hommey
<glandium@debian.org>
Tue, 5 Apr 2022 23:13:44 +0000
(
00:13
+0100)
Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Fix-math_private.h-for-i386-FTBFS.patch
modules/fdlibm/src/math_private.h
patch
|
blob
|
history
diff --git
a/modules/fdlibm/src/math_private.h
b/modules/fdlibm/src/math_private.h
index 51d79f9c2ec59f3abf30b32b6e9734de6866a01f..fafd7d6fc1e0d810eb086e21c4663cc81cf55fb3 100644
(file)
--- 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;
/*