Title: [180674] trunk/Source/WTF
- Revision
- 180674
- Author
- [email protected]
- Date
- 2015-02-26 07:21:13 -0800 (Thu, 26 Feb 2015)
Log Message
Revert bug 19975, now that gcc 4.7 is required.
https://bugs.webkit.org/show_bug.cgi?id=129927
Patch by Landry Breuil <[email protected]> on 2015-02-26
Reviewed by Andreas Kling.
isfinite() and signbit() are provided by gcc's cmath header.
* wtf/MathExtras.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (180673 => 180674)
--- trunk/Source/WTF/ChangeLog 2015-02-26 13:53:59 UTC (rev 180673)
+++ trunk/Source/WTF/ChangeLog 2015-02-26 15:21:13 UTC (rev 180674)
@@ -1,3 +1,14 @@
+2015-02-26 Landry Breuil <[email protected]>
+
+ 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 <[email protected]>
UNREACHABLE_FOR_PLATFORM() should be release assert
Modified: trunk/Source/WTF/wtf/MathExtras.h (180673 => 180674)
--- trunk/Source/WTF/wtf/MathExtras.h 2015-02-26 13:53:59 UTC (rev 180673)
+++ trunk/Source/WTF/wtf/MathExtras.h 2015-02-26 15:21:13 UTC (rev 180674)
@@ -102,21 +102,6 @@
#endif
-#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.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes