diff options
Diffstat (limited to 'main/xulrunner/0002-Use-C99-math-isfinite.patch')
-rw-r--r-- | main/xulrunner/0002-Use-C99-math-isfinite.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/main/xulrunner/0002-Use-C99-math-isfinite.patch b/main/xulrunner/0002-Use-C99-math-isfinite.patch index 3d85a69288..03f830bcae 100644 --- a/main/xulrunner/0002-Use-C99-math-isfinite.patch +++ b/main/xulrunner/0002-Use-C99-math-isfinite.patch @@ -4,23 +4,9 @@ Date: Fri, 25 Nov 2011 08:30:51 +0000 Subject: [PATCH 2/4] Use C99 math isfinite --- - js/src/ctypes/CTypes.cpp | 2 +- xpcom/ds/nsMathUtils.h | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) -diff --git a/js/src/ctypes/CTypes.cpp b/js/src/ctypes/CTypes.cpp -index 5c0f886..a3b1ae6 100644 ---- a/js/src/ctypes/CTypes.cpp -+++ b/js/src/ctypes/CTypes.cpp -@@ -467,7 +467,7 @@ static inline bool FloatIsFinite(jsdouble f) { - #ifdef WIN32 - return _finite(f) != 0; - #else -- return finite(f); -+ return isfinite(f); - #endif - } - diff --git a/xpcom/ds/nsMathUtils.h b/xpcom/ds/nsMathUtils.h index 21ffbec..2e80476 100644 --- a/xpcom/ds/nsMathUtils.h |