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:
a8f4cf7
)
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, 29 Aug 2023 21:03:46 +0000
(22:03 +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 f4373f27834ab794d3ea7bf5fa72caa0a2480e8f..632d2c4c61930c17aa65ba8686b04cdaf59cf7b4 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;
typedef float __float_t;