File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 11
11
#include "fwd.h"
12
12
#include "gthr_aux.h"
13
13
#include <errno.h>
14
- #if __MCF_CXX11(1+)0
15
- # include < chrono>
16
- #endif
17
14
18
15
#ifdef _LIBCPP_BEGIN_NAMESPACE_STD
19
16
_LIBCPP_BEGIN_NAMESPACE_STD
@@ -347,14 +344,14 @@ __MCF_LIBCXX_IMPORT
347
344
void
348
345
__MCF_libcxx_thread_sleep_for_ns_count (int64_t __ns ) __MCF_noexcept ;
349
346
350
- #if __MCF_CXX11(1+)0
347
+ #ifdef _LIBCPP___CHRONO_DURATION_H
351
348
__MCF_ALWAYS_INLINE
352
349
void
353
- __libcpp_thread_sleep_for (const ::std:: chrono::nanoseconds& __ns) __MCF_noexcept
350
+ __libcpp_thread_sleep_for (const chrono ::nanoseconds & __ns ) __MCF_noexcept
354
351
{
355
352
__MCF_libcxx_thread_sleep_for_ns_count (__ns .count ());
356
353
}
357
- #endif /* C++11 */
354
+ #endif /* <chrono> included */
358
355
359
356
/* Gives up the current time slice, like `sched_yield()`. */
360
357
__MCF_LIBCXX_IMPORT
You can’t perform that action at this time.
0 commit comments