diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@digia.com> | 2012-06-15 10:55:08 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-28 13:12:56 (GMT) |
commit | 056eb48d78717e1cbffc4f959b229b95116780fa (patch) | |
tree | 363f0bd1757258e6a96767ce6070dddda6574eae /src | |
parent | 18569440473e779759ecf0ca4582f81cbc59e916 (diff) | |
download | Qt-056eb48d78717e1cbffc4f959b229b95116780fa.zip Qt-056eb48d78717e1cbffc4f959b229b95116780fa.tar.gz Qt-056eb48d78717e1cbffc4f959b229b95116780fa.tar.bz2 |
VxWorks header only available in DKM mode and not in RTP mode.
Check if _WRS_KERNEL is defined so we are compiling for DKM mode.
Change-Id: I15801b0575d3fe6e543f81a177fd01d015d9085f
(cherry picked from qtbase/baad50e97946c4b99998f215aa5c023c17be29ea)
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qglobal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 3337f35..a3e64c9 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -70,7 +70,7 @@ # endif #endif -#if defined(Q_OS_VXWORKS) +#if defined(Q_OS_VXWORKS) && defined(_WRS_KERNEL) # include <envLib.h> #endif |