aboutsummaryrefslogtreecommitdiffstats
path: root/main/js/isfinite.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/js/isfinite.patch')
-rw-r--r--main/js/isfinite.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/js/isfinite.patch b/main/js/isfinite.patch
new file mode 100644
index 0000000000..e0f09f3898
--- /dev/null
+++ b/main/js/isfinite.patch
@@ -0,0 +1,11 @@
+--- ./jsnum.h.orig
++++ ./jsnum.h
+@@ -101,7 +101,7 @@
+ #ifdef WIN32
+ return _finite(d);
+ #else
+- return finite(d);
++ return isfinite(d);
+ #endif
+ }
+