summaryrefslogtreecommitdiffstats
path: root/src/kernel/qthread_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qthread_unix.cpp')
-rw-r--r--src/kernel/qthread_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qthread_unix.cpp b/src/kernel/qthread_unix.cpp
index 501471fec..045c7f1d7 100644
--- a/src/kernel/qthread_unix.cpp
+++ b/src/kernel/qthread_unix.cpp
@@ -38,7 +38,7 @@
#include "ntqglobal.h"
-#if defined(TQT_THREAD_SUPPORT)
+#ifndef TQT_NO_THREAD
#include "qplatformdefs.h"
@@ -563,4 +563,4 @@ TQThread *TQThread::currentThreadObject()
}
-#endif // TQT_THREAD_SUPPORT
+#endif // TQT_NO_THREAD