summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorIan Dean <ian@mediator-software.com>2012-07-18 23:02:56 -0700
committerQt by Nokia <qt-info@nokia.com>2012-09-18 11:09:00 +0200
commitb3c21d93f66617b87b341911d329c0b1ad6af485 (patch)
treeaee75fa9e661cc33916b3ef6c01de7217a8b4676 /src/corelib/thread
parentc14694621aab2e7df13830f80621fb5680b432e4 (diff)
Refactor coreservices -> ios & QT_NO_CORESERVICES -> Q_OS_IOS
Similar work was done in Qt5 in Change Id3b02316 Change-Id: I392d2a5bfffb9a335f28d5dbc5ea27b800fc4487 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qthread_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp
index e4eeb6dc82..df175d3c8e 100644
--- a/src/corelib/thread/qthread_unix.cpp
+++ b/src/corelib/thread/qthread_unix.cpp
@@ -83,9 +83,9 @@
# define old_qDebug qDebug
# undef qDebug
# endif
-#ifndef QT_NO_CORESERVICES
+#if !defined(Q_OS_IOS)
# include <CoreServices/CoreServices.h>
-#endif //QT_NO_CORESERVICES
+#endif // !defined(Q_OS_IOS)
# ifdef old_qDebug
# undef qDebug