summaryrefslogtreecommitdiff
path: root/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2016-07-26 12:35:17 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2016-07-26 12:35:17 +0200
commitb8845794b95376e8be39dbdafca2c85b5ec4c195 (patch)
tree26fa9590cc3efdfc1570e84c84182ab5545633ef /src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h
parent6e1dde1568d5b0dd774173e3d8f63a15c9a10e15 (diff)
parent9dc78a2d847bca5ec7b1445356523383a030d7ce (diff)
downloadqtscript-b8845794b95376e8be39dbdafca2c85b5ec4c195.tar.gz
Merge remote-tracking branch 'origin/5.6' into 5.7
Conflicts: src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h One side narrowed a QNX define to Dinkum; the other wanted the same kludges applied for Intel. Combine their changes to the condition. Change-Id: Id44102e53a0f96b7318437fb47fa76d8bc1119f3
Diffstat (limited to 'src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h')
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h
index 094d456..bf3cb53 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h
@@ -40,7 +40,7 @@
#include <machine/ieee.h>
#endif
-#if OS(QNX) || COMPILER(INTEL)
+#if (OS(QNX) && defined(_CPPLIB_VER)) || COMPILER(INTEL)
// FIXME: Look into a way to have cmath import its functions into both the standard and global
// namespace. For now, we include math.h since the QNX cmath header only imports its functions
// into the standard namespace.
@@ -95,7 +95,7 @@ inline bool isinf(double x) { return !finite(x) && !isnand(x); }
#endif
-#if OS(OPENBSD)
+#if OS(OPENBSD) && __cplusplus < 201103L
namespace std {