[libcxx-commits] [libcxx] r357540 - Fix backwards test that I committed yesterday. Sigh

Marshall Clow via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 2 17:01:03 PDT 2019


Author: marshall
Date: Tue Apr  2 17:01:03 2019
New Revision: 357540

URL: http://llvm.org/viewvc/llvm-project?rev=357540&view=rev
Log:
Fix backwards test that I committed yesterday. Sigh

Modified:
    libcxx/trunk/include/thread

Modified: libcxx/trunk/include/thread
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/thread?rev=357540&r1=357539&r2=357540&view=diff
==============================================================================
--- libcxx/trunk/include/thread (original)
+++ libcxx/trunk/include/thread Tue Apr  2 17:01:03 2019
@@ -436,9 +436,9 @@ sleep_for(const chrono::duration<_Rep, _
     {
 #if defined(_LIBCPP_COMPILER_GCC) && (__powerpc__ || __POWERPC__)
     //  GCC's long double const folding is incomplete for IBM128 long doubles.
-        _LIBCPP_CONSTEXPR duration<long double> _Max = duration<long double>(ULLONG_MAX/1000000000ULL) ;
-#else
         _LIBCPP_CONSTEXPR duration<long double> _Max = nanoseconds::max();
+#else
+        _LIBCPP_CONSTEXPR duration<long double> _Max = duration<long double>(ULLONG_MAX/1000000000ULL) ;
 #endif
         nanoseconds __ns;
         if (__d < _Max)




More information about the libcxx-commits mailing list