mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Make sure mozjs patch FixFpNormIssue.diff applies cleanly on i386
This commit is contained in:
parent
82ff0ea90b
commit
026a668a0f
2 changed files with 4 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ cd "$(dirname "$0")"
|
|||
# This should match the version in config/milestone.txt
|
||||
FOLDER="mozjs-115.16.1"
|
||||
# If same-version changes are needed, increment this.
|
||||
LIB_VERSION="115.16.1+3"
|
||||
LIB_VERSION="115.16.1+4"
|
||||
LIB_NAME="mozjs115"
|
||||
|
||||
fetch()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
--- a/modules/fdlibm/src/math_private.h
|
||||
+++ b/modules/fdlibm/src/math_private.h
|
||||
@@ -30,8 +30,13 @@
|
||||
@@ -30,7 +30,11 @@
|
||||
* Adapted from https://github.com/freebsd/freebsd-src/search?q=__double_t
|
||||
*/
|
||||
|
||||
|
|
@ -10,10 +10,9 @@
|
|||
typedef double __double_t;
|
||||
+#endif
|
||||
typedef __double_t double_t;
|
||||
+typedef float __float_t;
|
||||
typedef float __float_t;
|
||||
|
||||
/*
|
||||
* The original fdlibm code used statements like:
|
||||
|
||||
@@ -630,6 +634,53 @@
|
||||
return ((double)(x + 0x1.8p52) - 0x1.8p52);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue