summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorRolland Dudemaine <rolland@ghs.com>2015-10-27 02:05:08 +0100
committerRolland Dudemaine <rolland@ghs.com>2016-03-17 07:58:06 +0000
commit44724563aaa644578fad56651a76eecd311ee11e (patch)
tree5ba01e5ebfabe4db848aebef67d54c5d57307fde /src/corelib/global/qglobal.h
parentad9726d99c327545aa908856d248198bfeb9bca2 (diff)
Disable some features for INTEGRITY
Specifically, this is a single-process build. Change-Id: I1b2cc33641df0ef73f1f26f388c1af3d954ce6e8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index d607b04192..86ac5d0312 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -627,6 +627,13 @@ class QDataStream;
# define QT_NO_PROCESS
#endif
+#if defined(Q_OS_INTEGRITY)
+# define QT_NO_CRASHHANDLER // no popen
+# define QT_NO_PROCESS // no exec*, no fork
+# define QT_NO_SYSTEMSEMAPHORE // not needed at all in a single AddressSpace
+# define QT_NO_MULTIPROCESS // no system
+#endif
+
inline void qt_noop(void) {}
/* These wrap try/catch so we can switch off exceptions later.