[Webkit-unassigned] [Bug 36576] The function "roundf" included in math.h on solaris

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 15 09:25:56 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=36576


Xavier Roche <roche+webkit at exalead.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roche+webkit at exalead.com




--- Comment #2 from Xavier Roche <roche+webkit at exalead.com>  2011-09-15 09:25:56 PST ---
Also required for GCC. Hence I would suggest:

--- src/3rdparty/webkit/JavaScriptCore/wtf/MathExtras.h.orig    Wed Sep 14 13:22:06 2011
+++ src/3rdparty/webkit/JavaScriptCore/wtf/MathExtras.h Wed Sep 14 11:58:35 2011
@@ -190,7 +190,7 @@
 inline float rad2grad(float r) { return r * 200.0f / piFloat; }
 inline float grad2rad(float g) { return g * piFloat / 200.0f; }

-#if !COMPILER(MSVC) && !OS(ANDROID) && !OS(SYMBIAN)
+#if !COMPILER(MSVC) && !OS(ANDROID) && !OS(SYMBIAN) && !OS(SOLARIS)
 using std::isfinite;
 using std::isinf;
 using std::isnan;

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list