summaryrefslogtreecommitdiffstats
path: root/src/tools/qwaitcondition_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qwaitcondition_unix.cpp')
-rw-r--r--src/tools/qwaitcondition_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qwaitcondition_unix.cpp b/src/tools/qwaitcondition_unix.cpp
index 866c524fd..24ce6855d 100644
--- a/src/tools/qwaitcondition_unix.cpp
+++ b/src/tools/qwaitcondition_unix.cpp
@@ -40,7 +40,7 @@
#include "ntqglobal.h"
-#if defined(TQT_THREAD_SUPPORT)
+#ifndef TQT_NO_THREAD
#include "qplatformdefs.h"
@@ -315,4 +315,4 @@ bool TQWaitCondition::wait(TQMutex *mutex, unsigned long time)
return (ret == 0);
}
-#endif // TQT_THREAD_SUPPORT
+#endif // TQT_NO_THREAD