aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/chrono.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/chrono.cpp')
-rw-r--r--libcxx/src/chrono.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/chrono.cpp b/libcxx/src/chrono.cpp
index 986360d..f17ea55 100644
--- a/libcxx/src/chrono.cpp
+++ b/libcxx/src/chrono.cpp
@@ -152,7 +152,7 @@ system_clock::time_point system_clock::from_time_t(time_t t) noexcept { return s
// instead.
//
-#ifndef _LIBCPP_HAS_NO_MONOTONIC_CLOCK
+#if _LIBCPP_HAS_MONOTONIC_CLOCK
# if defined(__APPLE__)
@@ -230,7 +230,7 @@ const bool steady_clock::is_steady;
steady_clock::time_point steady_clock::now() noexcept { return __libcpp_steady_clock_now(); }
-#endif // !_LIBCPP_HAS_NO_MONOTONIC_CLOCK
+#endif // _LIBCPP_HAS_MONOTONIC_CLOCK
} // namespace chrono