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
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
This commit is contained in:
Pasi Petäjäjärvi 2012-06-15 13:55:08 +03:00 committed by The Qt Project
parent 7e3d5a7207
commit baad50e979

View File

@ -68,7 +68,7 @@
# endif
#endif
#if defined(Q_OS_VXWORKS)
#if defined(Q_OS_VXWORKS) && defined(_WRS_KERNEL)
# include <envLib.h>
#endif