summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qsystemsemaphore_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qsystemsemaphore_win.cpp')
-rw-r--r--src/corelib/kernel/qsystemsemaphore_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qsystemsemaphore_win.cpp b/src/corelib/kernel/qsystemsemaphore_win.cpp
index db23b9144f..b84cf9f859 100644
--- a/src/corelib/kernel/qsystemsemaphore_win.cpp
+++ b/src/corelib/kernel/qsystemsemaphore_win.cpp
@@ -11,7 +11,7 @@ QT_BEGIN_NAMESPACE
using namespace Qt::StringLiterals;
-#ifndef QT_NO_SYSTEMSEMAPHORE
+#if QT_CONFIG(systemsemaphore)
QSystemSemaphorePrivate::QSystemSemaphorePrivate() :
semaphore(0), error(QSystemSemaphore::NoError)
@@ -97,6 +97,6 @@ bool QSystemSemaphorePrivate::modifySemaphore(int count)
return true;
}
-#endif //QT_NO_SYSTEMSEMAPHORE
+#endif // QT_CONFIG(systemsemaphore)
QT_END_NAMESPACE