1 | $OpenBSD$ |
---|
2 | |
---|
3 | Don't define ::isfinite and ::signbit. These conflict with |
---|
4 | std::isfinite and std::signbit in gcc 6, cause errors |
---|
5 | 'call of overloaded... is ambigous'. |
---|
6 | |
---|
7 | Index: src/3rdparty/webkit/Source/JavaScriptCore/wtf/MathExtras.h |
---|
8 | --- src/3rdparty/webkit/Source/JavaScriptCore/wtf/MathExtras.h.orig |
---|
9 | +++ src/3rdparty/webkit/Source/JavaScriptCore/wtf/MathExtras.h |
---|
10 | @@ -99,7 +99,7 @@ inline bool signbit(double x) { return copysign(1.0, x |
---|
11 | |
---|
12 | #endif |
---|
13 | |
---|
14 | -#if OS(OPENBSD) |
---|
15 | +#if 0 && OS(OPENBSD) |
---|
16 | |
---|
17 | #ifndef isfinite |
---|
18 | inline bool isfinite(double x) { return finite(x); } |
---|