aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/semaphore.inc
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/semaphore.inc')
-rw-r--r--libcxx/modules/std/semaphore.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/modules/std/semaphore.inc b/libcxx/modules/std/semaphore.inc
index a8c8a1b..7b47554 100644
--- a/libcxx/modules/std/semaphore.inc
+++ b/libcxx/modules/std/semaphore.inc
@@ -8,10 +8,10 @@
//===----------------------------------------------------------------------===//
export namespace std {
-#ifndef _LIBCPP_HAS_NO_THREADS
+#if _LIBCPP_HAS_THREADS
// [thread.sema.cnt], class template counting_semaphore
using std::counting_semaphore;
using std::binary_semaphore;
-#endif // _LIBCPP_HAS_NO_THREADS
+#endif // _LIBCPP_HAS_THREADS
} // namespace std