aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/xpcom-c99math.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/xulrunner/xpcom-c99math.patch')
-rw-r--r--main/xulrunner/xpcom-c99math.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/xulrunner/xpcom-c99math.patch b/main/xulrunner/xpcom-c99math.patch
new file mode 100644
index 0000000000..955f964eb8
--- /dev/null
+++ b/main/xulrunner/xpcom-c99math.patch
@@ -0,0 +1,11 @@
+--- mozilla-release.orig/xpcom/ds/nsMathUtils.h
++++ mozilla-release/xpcom/ds/nsMathUtils.h
+@@ -170,7 +170,7 @@
+ // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
+ return !!_finite(d);
+ #else
+- return finite(d);
++ return isfinite(d);
+ #endif
+ }
+