summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-js_src_jsnum_h
blob: 54c7064cf7c7c3725a0f179c81f04dfc97c00a77 (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-03-27 20:18:21.253370504 +0200
@@ -101,7 +101,7 @@ JSDOUBLE_IS_FINITE(jsdouble d)
 #ifdef WIN32
     return _finite(d);
 #else
-    return finite(d);
+    return isfinite(d);
 #endif
 }