summaryrefslogtreecommitdiffstats
path: root/main/xulrunner/xpcom-c99math.patch
blob: 955f964eb849e68cd61aee26b3132f304f5662ae (plain)
1
2
3
4
5
6
7
8
9
10
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
 }