Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: Source/wtf/MathExtras.h

Issue 23566006: Get rid of OS(SOLARIS) and OS(HURD). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: git cl try Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/platform/network/ResourceResponse.h ('k') | Source/wtf/NumberOfCores.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/MathExtras.h
diff --git a/Source/wtf/MathExtras.h b/Source/wtf/MathExtras.h
index 789632666bb4ca9a32c980702a68e6cd45d9e6a9..92237ec0e2df1208988a3e8db0d369e56fe61b1b 100644
--- a/Source/wtf/MathExtras.h
+++ b/Source/wtf/MathExtras.h
@@ -35,10 +35,6 @@
#include <stdint.h>
#include <stdlib.h>
-#if OS(SOLARIS)
-#include <ieeefp.h>
-#endif
-
#if OS(OPENBSD)
#include <sys/types.h>
#include <machine/ieee.h>
@@ -77,24 +73,6 @@ inline double wtf_ceil(double x) { return copysign(ceil(x), x); }
#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 OS(OPENBSD)
namespace std {
« no previous file with comments | « Source/core/platform/network/ResourceResponse.h ('k') | Source/wtf/NumberOfCores.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698