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