diff options
author | Ralf Nolden <nolden@kde.org> | 2016-07-01 16:34:21 +0200 |
---|---|---|
committer | Ralf Nolden <nolden@kde.org> | 2016-07-02 00:11:25 +0000 |
commit | f293b707d56be264b6d688fd159e5b6306092491 (patch) | |
tree | 5d94ad861d52d32036505d899882b8f8f8af64b0 | |
parent | 6d616dc6e4e8d4463a4d75d3b88a2e8ed21c25e5 (diff) | |
download | qtwebkit-f293b707d56be264b6d688fd159e5b6306092491.tar.gz |
Compile Fix for OpenBSD in C++11 mode
Add a __cplusplus condition to an already existing OpenBSD defined part
to activate the code only on older gcc compilers.
Change-Id: I3ae3c4f792af12868e5efe1c3536f9743de78ce3
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | Source/WTF/wtf/MathExtras.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WTF/wtf/MathExtras.h b/Source/WTF/wtf/MathExtras.h index 859722386..d3def9a54 100644 --- a/Source/WTF/wtf/MathExtras.h +++ b/Source/WTF/wtf/MathExtras.h @@ -106,7 +106,7 @@ inline bool isinf(double x) { return !finite(x) && !isnand(x); } #endif -#if OS(OPENBSD) +#if OS(OPENBSD) && __cplusplus < 201103L namespace std { |