https://bugs.webkit.org/show_bug.cgi?id=129927
Patch by Landry Breuil <landry@openbsd.org> on 2015-02-26
Reviewed by Andreas Kling.
isfinite() and signbit() are provided by gcc's cmath header.
* wtf/MathExtras.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@180674
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-02-26 Landry Breuil <landry@openbsd.org>
+
+ Revert bug 19975, now that gcc 4.7 is required.
+ https://bugs.webkit.org/show_bug.cgi?id=129927
+
+ Reviewed by Andreas Kling.
+
+ isfinite() and signbit() are provided by gcc's cmath header.
+
+ * wtf/MathExtras.h:
+
2015-02-26 Csaba Osztrogonác <ossy@webkit.org>
UNREACHABLE_FOR_PLATFORM() should be release assert
2015-02-26 Csaba Osztrogonác <ossy@webkit.org>
UNREACHABLE_FOR_PLATFORM() should be release assert
-#if OS(OPENBSD)
-
-namespace std {
-
-#ifndef isfinite
-inline bool isfinite(double x) { return finite(x); }
-#endif
-#ifndef signbit
-inline bool signbit(double x) { struct ieee_double *p = (struct ieee_double *)&x; return p->dbl_sign; }
-#endif
-
-} // namespace std
-
-#endif
-
#if COMPILER(MSVC)
// Work around a bug in Win, where atan2(+-infinity, +-infinity) yields NaN instead of specific values.
#if COMPILER(MSVC)
// Work around a bug in Win, where atan2(+-infinity, +-infinity) yields NaN instead of specific values.