diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2024-11-06 10:39:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 10:39:19 +0100 |
commit | c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c (patch) | |
tree | dbfd623fea1771448ff564d5fc4221db7fca2f84 /libcxx/src/chrono.cpp | |
parent | 5acc4a3dc0e2145d2bfef47f1543bb291c2b866a (diff) | |
download | llvm-c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c.zip llvm-c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c.tar.gz llvm-c6f3b7bcd0596d30f8dabecdfb9e44f9a07b6e4c.tar.bz2 |
[libc++] Refactor the configuration macros to being always defined (#112094)
This is a follow-up to #89178. This updates the `<__config_site>`
macros.
Diffstat (limited to 'libcxx/src/chrono.cpp')
-rw-r--r-- | libcxx/src/chrono.cpp | 4 |
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 |