rtems: Add Q_OS_RTEMS macro to detect RTEMS OS

Change-Id: I45530cb7438a8f3ae8eac2e4be3c7d4472d9eec2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Mikhail Svetkin 2018-03-20 14:25:56 +01:00 committed by Volker Hilsheimer
parent 87748cc18e
commit 1798d3ddc8

View File

@ -166,6 +166,8 @@
# define Q_OS_QNX
#elif defined(__INTEGRITY)
# define Q_OS_INTEGRITY
#elif defined(__rtems__)
# define Q_OS_RTEMS
#elif defined(VXWORKS) /* there is no "real" VxWorks define - this has to be set in the mkspec! */
# define Q_OS_VXWORKS
#elif defined(__HAIKU__)