summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-MathExtras.h.patch
blob: 4ade009a8291387a9fb440d863c0abe6c28d4dd8 (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
Index: webkit/Source/WTF/wtf/MathExtras.h
===================================================================
--- webkit.orig/Source/WTF/wtf/MathExtras.h
+++ webkit/Source/WTF/wtf/MathExtras.h
@@ -76,24 +76,6 @@ inline double wtf_ceil(double x) { retur
 
 #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 {