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/javascriptcore/JavaScriptCore/wtf/MathExtras.h |
---|
8 | --- src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h.orig |
---|
9 | +++ src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h |
---|
10 | @@ -85,7 +85,7 @@ inline bool signbit(double x) { return x < 0.0; } // F |
---|
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); } |
---|