From ffa0895c3b32f01851532a6f40fd2c7e663afaf0 Mon Sep 17 00:00:00 2001 From: Jonathan Roelofs Date: Tue, 2 Sep 2014 23:52:46 +0000 Subject: Fix comment that was obsoleted by r216949 llvm-svn: 216999 --- libcxx/src/chrono.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libcxx/src') diff --git a/libcxx/src/chrono.cpp b/libcxx/src/chrono.cpp index 83661b0626d..456941144e0 100644 --- a/libcxx/src/chrono.cpp +++ b/libcxx/src/chrono.cpp @@ -109,10 +109,8 @@ steady_clock::now() _NOEXCEPT } #else // __APPLE__ -// FIXME: We assume that clock_gettime(CLOCK_MONOTONIC) works on -// non-apple systems. Instead, we should check _POSIX_TIMERS and -// _POSIX_MONOTONIC_CLOCK and fall back to something else if those -// don't exist. +// FIXME: if _LIBCPP_HAS_NO_MONOTONIC_CLOCK, then clock_gettime isn't going to +// work. It may be possible to fall back on something else, depending on the system. // Warning: If this is not truly steady, then it is non-conforming. It is // better for it to not exist and have the rest of libc++ use system_clock -- cgit v1.2.3