blob: 0fedbd7392a16416aa935e2388ec8d920a6d3bcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
Index: qtwebkit/Source/JavaScriptCore/wtf/MathExtras.h
===================================================================
--- qtwebkit.orig/Source/JavaScriptCore/wtf/MathExtras.h 2011-12-25 23:12:15.000000000 +0400
+++ qtwebkit/Source/JavaScriptCore/wtf/MathExtras.h 2013-12-04 08:14:27.896528418 +0400
@@ -81,20 +81,6 @@
#endif
-#if OS(SOLARIS)
-
-#ifndef isfinite
-inline bool isfinite(double x) { return finite(x) && !isnand(x); }
-#endif
-#ifndef isinf
-inline bool isinf(double x) { return !finite(x) && !isnand(x); }
-#endif
-#ifndef signbit
-inline bool signbit(double x) { return copysign(1.0, x) < 0; }
-#endif
-
-#endif
-
#if OS(OPENBSD)
#ifndef isfinite
@@ -248,7 +234,7 @@
return static_cast<int>(std::min(value, static_cast<unsigned>(std::numeric_limits<int>::max())));
}
-#if !COMPILER(MSVC) && !(COMPILER(RVCT) && PLATFORM(BREWMP)) && !OS(SOLARIS) && !OS(SYMBIAN)
+#if !COMPILER(MSVC) && !(COMPILER(RVCT) && PLATFORM(BREWMP)) && !OS(SYMBIAN)
using std::isfinite;
using std::isinf;
using std::isnan;
|