summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-js_src_jsnum_h
blob: f2e6abe81cd463ab0a57274ddadc0d938d4dec0a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mozilla-2.0.orig/js/src/jsnum.h	2011-03-19 00:33:50.000000000 +0100
+++ mozilla-2.0/js/src/jsnum.h	2011-04-23 23:18:01.000000000 +0200
@@ -101,7 +101,7 @@ JSDOUBLE_IS_FINITE(jsdouble d)
 #ifdef WIN32
     return _finite(d);
 #else
-    return finite(d);
+    return isfinite(d);
 #endif
 }