blob: a4f81b62c72198c796e4ddb7f35d1f5e6e6fdcc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- mozilla-2.0.orig/js/src/ctypes/CTypes.cpp
+++ mozilla-2.0/js/src/ctypes/CTypes.cpp
@@ -464,7 +464,7 @@
#ifdef WIN32
return _finite(f) != 0;
#else
- return finite(f);
+ return isfinite(f);
#endif
}
--- ./content/base/public/nsContentUtils.h.orig
+++ ./content/base/public/nsContentUtils.h
@@ -1994,7 +1994,11 @@
#ifdef WIN32
return _finite(f);
#else
- return finite(f);
+#ifdef _GLIBCXX_CMATH
+ return std::isfinite(f);
+#else
+ return isfinite(f);
+#endif
#endif
}
|