From 0c96f83bef7f3cf30ffab693dd90126bb87e8ce1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 15 Aug 2011 12:57:07 +0000 Subject: main/xulrunner: upgrade to 6.0 --- main/xulrunner/xpcom-c99math.patch | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'main/xulrunner/xpcom-c99math.patch') diff --git a/main/xulrunner/xpcom-c99math.patch b/main/xulrunner/xpcom-c99math.patch index 955f964eb8..3222c7f206 100644 --- a/main/xulrunner/xpcom-c99math.patch +++ b/main/xulrunner/xpcom-c99math.patch @@ -1,11 +1,15 @@ ---- mozilla-release.orig/xpcom/ds/nsMathUtils.h -+++ mozilla-release/xpcom/ds/nsMathUtils.h -@@ -170,7 +170,7 @@ +--- ./xpcom/ds/nsMathUtils.h.orig ++++ ./xpcom/ds/nsMathUtils.h +@@ -151,7 +151,11 @@ // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800. return !!_finite(d); #else - return finite(d); ++#ifdef _GLIBCXX_CMATH ++ return std::isfinite(d); ++#else + return isfinite(d); ++#endif #endif } -- cgit v1.2.3