diff options
Diffstat (limited to 'main/xulrunner/mozjs-c99math.patch')
-rw-r--r-- | main/xulrunner/mozjs-c99math.patch | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/main/xulrunner/mozjs-c99math.patch b/main/xulrunner/mozjs-c99math.patch index ce05c17965..fdf346e495 100644 --- a/main/xulrunner/mozjs-c99math.patch +++ b/main/xulrunner/mozjs-c99math.patch @@ -5,7 +5,29 @@ return _finite(d); #else - return finite(d); -+ return __finite(d); ++ return isfinite(d); + #endif + } + +--- 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 + } + +--- mozilla-2.0.orig/content/base/public/nsContentUtils.h ++++ mozilla-2.0/content/base/public/nsContentUtils.h +@@ -1942,7 +1942,7 @@ + #ifdef WIN32 + return _finite(f); + #else +- return finite(f); ++ return isfinite(f); #endif } |