summaryrefslogtreecommitdiffstats
path: root/src/tools/qsemaphore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qsemaphore.cpp')
-rw-r--r--src/tools/qsemaphore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qsemaphore.cpp b/src/tools/qsemaphore.cpp
index 394834fdd..101155d59 100644
--- a/src/tools/qsemaphore.cpp
+++ b/src/tools/qsemaphore.cpp
@@ -40,7 +40,7 @@
#include "ntqglobal.h"
-#if defined(TQT_THREAD_SUPPORT)
+#ifndef TQT_NO_THREAD
#include "ntqsemaphore.h"
#include "ntqmutex.h"
@@ -254,4 +254,4 @@ bool TQSemaphore::tryAccess(int n)
return TRUE;
}
-#endif // TQT_THREAD_SUPPORT
+#endif // TQT_NO_THREAD