summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/firefox/patches/patch-xpcom_ds_nsMathUtils_h')
-rw-r--r--package/firefox/patches/patch-xpcom_ds_nsMathUtils_h4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
index 0b3a738bb..578dc64c6 100644
--- a/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
+++ b/package/firefox/patches/patch-xpcom_ds_nsMathUtils_h
@@ -12,9 +12,9 @@
#else
- return finite(aNum);
+#ifdef _GLIBCXX_CMATH
-+ return std::isfinite(d);
++ return std::isfinite(aNum);
+#else
-+ return isfinite(d);
++ return isfinite(aNum);
+#endif
#endif
}