diff options
Diffstat (limited to 'main/xulrunner/mozjs-c99math.patch')
-rw-r--r-- | main/xulrunner/mozjs-c99math.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/main/xulrunner/mozjs-c99math.patch b/main/xulrunner/mozjs-c99math.patch deleted file mode 100644 index a4f81b62c72..00000000000 --- a/main/xulrunner/mozjs-c99math.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- 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 - } - |