diff options
author | James McDonnell <jmcdonnell@qnx.com> | 2016-06-14 11:56:44 -0400 |
---|---|---|
committer | James McDonnell <jmcdonnell@qnx.com> | 2016-06-14 18:09:39 +0000 |
commit | 5d22723e052480ff3893a21f6bd75142f9f4f6ea (patch) | |
tree | 7faf70c59714219e80907accb3d55aa3849a4b3d /src/qml/jsruntime/qv4global_p.h | |
parent | 7f8dc9d00c02e0e28cdea92cac8f8e4379bed68b (diff) |
Make some QNX only code Dinkum specific
The undefines won't be needed for QNX 7.0 with GNU libc++.
Change-Id: Ibcea09aad54a956fc056ceaac5db6a0d53cd176c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4global_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4global_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h index 01a21ea06d..960741d95f 100644 --- a/src/qml/jsruntime/qv4global_p.h +++ b/src/qml/jsruntime/qv4global_p.h @@ -122,7 +122,7 @@ inline double trunc(double d) { return d > 0 ? floor(d) : ceil(d); } #define ENABLE_JIT 0 #endif -#if defined(Q_OS_QNX) +#if defined(Q_OS_QNX) && defined(_CPPLIB_VER) #include <math.h> #undef isnan #undef isfinite |