diff --git a/libcxx/include/thread b/libcxx/include/thread index 02da703..d1677a1 100644 --- a/projects/libcxx/include/thread +++ b/projects/libcxx/include/thread @@ -368,9 +368,9 @@ sleep_for(const chrono::duration<_Rep, _Period>& __d) { #if defined(_LIBCPP_COMPILER_GCC) && (__powerpc__ || __POWERPC__) // GCC's long double const folding is incomplete for IBM128 long doubles. - _LIBCPP_CONSTEXPR duration _Max = nanoseconds::max(); -#else _LIBCPP_CONSTEXPR duration _Max = duration(ULLONG_MAX/1000000000ULL) ; +#else + _LIBCPP_CONSTEXPR duration _Max = nanoseconds::max(); #endif nanoseconds __ns; if (__d < _Max)