summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Svetkin <mikhail.svetkin@qt.io>2018-03-20 14:25:56 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2019-05-28 11:23:35 +0000
commit1798d3ddc80b05cf41ee61807ec433d624b6ed6b (patch)
tree5f009d957095a94bbc6c765fed0f533729f1c328
parent87748cc18e6a0d9e65933aa2462dc78ab8f9f22e (diff)
rtems: Add Q_OS_RTEMS macro to detect RTEMS OS
Change-Id: I45530cb7438a8f3ae8eac2e4be3c7d4472d9eec2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/corelib/global/qsystemdetection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qsystemdetection.h b/src/corelib/global/qsystemdetection.h
index a2e51fa330..02e2f77c6b 100644
--- a/src/corelib/global/qsystemdetection.h
+++ b/src/corelib/global/qsystemdetection.h
@@ -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__)