aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorRalf Nolden <nolden@kde.org>2016-06-01 22:25:30 +0200
committerRalf Nolden <nolden@kde.org>2016-06-02 04:31:38 +0000
commit32e0c5f96dac3f8afe187259929dd87012e1a464 (patch)
tree2110fa82e7a3a4178cdc2ea3db97d902078608b3 /src/3rdparty
parentddb60df2634ae97ae85ea5b6021283be098efed4 (diff)
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: Ied8719dc35bf203ecbadd1099d711c027722121c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/masm/wtf/MathExtras.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/masm/wtf/MathExtras.h b/src/3rdparty/masm/wtf/MathExtras.h
index 9ded0ab736..28a189b6e6 100644
--- a/src/3rdparty/masm/wtf/MathExtras.h
+++ b/src/3rdparty/masm/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 {