summaryrefslogtreecommitdiffstats
path: root/testing/xulrunner/mozjs-c99math.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xulrunner/mozjs-c99math.patch')
-rw-r--r--testing/xulrunner/mozjs-c99math.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/xulrunner/mozjs-c99math.patch b/testing/xulrunner/mozjs-c99math.patch
new file mode 100644
index 000000000..ce05c1796
--- /dev/null
+++ b/testing/xulrunner/mozjs-c99math.patch
@@ -0,0 +1,11 @@
+--- mozilla-1.9.2.orig/js/src/jsnum.h
++++ mozilla-1.9.2/js/src/jsnum.h
+@@ -98,7 +98,7 @@
+ #ifdef WIN32
+ return _finite(d);
+ #else
+- return finite(d);
++ return __finite(d);
+ #endif
+ }
+