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>bb10
parent
7e3d5a7207
commit
baad50e979
|
|
@ -68,7 +68,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_VXWORKS)
|
||||
#if defined(Q_OS_VXWORKS) && defined(_WRS_KERNEL)
|
||||
# include <envLib.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue