aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/discard-x86-precision-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/seamonkey/discard-x86-precision-musl.patch')
-rw-r--r--testing/seamonkey/discard-x86-precision-musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/seamonkey/discard-x86-precision-musl.patch b/testing/seamonkey/discard-x86-precision-musl.patch
new file mode 100644
index 0000000000..ef591177f2
--- /dev/null
+++ b/testing/seamonkey/discard-x86-precision-musl.patch
@@ -0,0 +1,11 @@
+--- a/mozilla/js/src/jsnum.cpp
++++ b/mozilla/js/src/jsnum.cpp
+@@ -1120,7 +1120,7 @@
+ void
+ js::FIX_FPU()
+ {
+-#if (defined __GNUC__ && defined __i386__) || \
++#if (defined __GLIBC__ && defined __i386__) || \
+ (defined __SUNPRO_CC && defined __i386)
+ short control;
+ asm("fstcw %0" : "=m" (control) : );