diff options
author | James McDonnell <jmcdonnell@blackberry.com> | 2016-12-07 11:10:51 -0500 |
---|---|---|
committer | James McDonnell <jmcdonnell@blackberry.com> | 2017-01-10 01:42:53 +0000 |
commit | b0a9b9ab87aedab65888f8d71f3a33da06ba9c7d (patch) | |
tree | 17b93faef43077c00433c18b986b4c2598c97b53 /src/corelib/global/qcompilerdetection.h | |
parent | e7b8df6349c059c7ae16ca954e62d503d36c70fb (diff) |
Adjust QNX choices
Don't use Dinkum choices when the C++ library is libC++ (QNX 7.0).
Change-Id: I18c3f716ccfb0c02dbfdc01eac4b707d3ae9aab6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qcompilerdetection.h')
-rw-r--r-- | src/corelib/global/qcompilerdetection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 4142c17b42..77ce488ca0 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -999,7 +999,7 @@ // Older versions (QNX 650) do not support C++11 features // _HAS_* macros are set to 1 by toolchains that actually include // Dinkum C++11 libcpp. -# if !defined(__GLIBCXX__) +# if !defined(__GLIBCXX__) && !defined(_LIBCPP_VERSION) # if !defined(_HAS_CPP0X) || !_HAS_CPP0X // Disable C++11 features that depend on library support # undef Q_COMPILER_INITIALIZER_LISTS |