Index: qt5webkit/Source/WTF/wtf/MathExtras.h =================================================================== --- qt5webkit.orig/Source/WTF/wtf/MathExtras.h +++ qt5webkit/Source/WTF/wtf/MathExtras.h @@ -75,24 +75,6 @@ const double sqrtOfTwoDouble = M_SQRT2; const float sqrtOfTwoFloat = static_cast(M_SQRT2); #endif -#if OS(SOLARIS) - -namespace std { - -#ifndef isfinite -inline bool isfinite(double x) { return finite(x) && !isnand(x); } -#endif -#ifndef signbit -inline bool signbit(double x) { return copysign(1.0, x) < 0; } -#endif -#ifndef isinf -inline bool isinf(double x) { return !finite(x) && !isnand(x); } -#endif - -} // namespace std - -#endif - #if COMPILER(MSVC) // Work around a bug in Win, where atan2(+-infinity, +-infinity) yields NaN instead of specific values.