diff options
author | James McDonnell <jmcdonnell@qnx.com> | 2016-06-14 12:01:32 -0400 |
---|---|---|
committer | James McDonnell <jmcdonnell@qnx.com> | 2016-06-14 18:59:04 +0000 |
commit | 6d3c33c07998236363f3503d376d6be1e0b074f4 (patch) | |
tree | 88fc8d39f71153447ce86f725cfc1c71050f8a8a | |
parent | 4c8efb407fa9ebfe3e1923970140cfe270fda75d (diff) | |
download | qtscript-6d3c33c07998236363f3503d376d6be1e0b074f4.tar.gz |
Make some QNX only code Dinkum specific
The undefines won't be needed for QNX 7.0 with GNU libc++.
Change-Id: I01bc306c5ebb0cb7f508bb7ee2994589f2936201
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
-rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/MathExtras.h index f2517cd..706ec39 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) +#if OS(QNX) && defined(_CPPLIB_VER) // 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. |