summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthreadstorage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qthreadstorage.h')
-rw-r--r--src/corelib/thread/qthreadstorage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/thread/qthreadstorage.h b/src/corelib/thread/qthreadstorage.h
index 9a91883de8..d556e33c57 100644
--- a/src/corelib/thread/qthreadstorage.h
+++ b/src/corelib/thread/qthreadstorage.h
@@ -42,7 +42,7 @@
#include <QtCore/qglobal.h>
-#ifndef QT_NO_THREAD
+#if QT_CONFIG(thread)
QT_BEGIN_NAMESPACE
@@ -152,7 +152,7 @@ public:
QT_END_NAMESPACE
-#else // !QT_NO_THREAD
+#else // !QT_CONFIG(thread)
#include <qscopedpointer.h>
@@ -227,6 +227,6 @@ public:
}
};
-#endif // QT_NO_THREAD
+#endif // QT_CONFIG(thread)
#endif // QTHREADSTORAGE_H