diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-03-17 20:46:25 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-03-17 20:46:51 -0500 |
commit | 56b3e818912ac0ccc294efea6fca3a5d07d19fd6 (patch) | |
tree | 4d5ba4cb36c507e220149d8f15625a17b912b0d9 /main/xulrunner/mozjs-c99math.patch | |
parent | 0314b8125e186c9ec8cbacb8cf8c53ec32da5415 (diff) | |
download | aports-56b3e818912ac0ccc294efea6fca3a5d07d19fd6.tar.bz2 aports-56b3e818912ac0ccc294efea6fca3a5d07d19fd6.tar.xz |
main/xulrunner: upgrade to 2.0_rc1
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 } |