aports/testing/js/isfinite.patch
Natanael Copa ce95a5b57d testing/js: new aport
JavaScript interpreter and libraries
http://www.mozilla.org/js/
2012-10-22 09:31:54 +00:00

12 lines
159 B
Diff

--- ./jsnum.h.orig
+++ ./jsnum.h
@@ -101,7 +101,7 @@
#ifdef WIN32
return _finite(d);
#else
- return finite(d);
+ return isfinite(d);
#endif
}