aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/stop_token.inc
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/stop_token.inc')
-rw-r--r--libcxx/modules/std/stop_token.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/modules/std/stop_token.inc b/libcxx/modules/std/stop_token.inc
index 5daf460..b5c7eb2 100644
--- a/libcxx/modules/std/stop_token.inc
+++ b/libcxx/modules/std/stop_token.inc
@@ -8,7 +8,7 @@
//===----------------------------------------------------------------------===//
export namespace std {
-#ifndef _LIBCPP_HAS_NO_THREADS
+#if _LIBCPP_HAS_THREADS
// [stoptoken], class stop_­token
using std::stop_token;
@@ -21,5 +21,5 @@ export namespace std {
// [stopcallback], class template stop_­callback
using std::stop_callback;
-#endif // _LIBCPP_HAS_NO_THREADS
+#endif // _LIBCPP_HAS_THREADS
} // namespace std