summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2019-04-03 00:01:03 +0000
committerMarshall Clow <mclow.lists@gmail.com>2019-04-03 00:01:03 +0000
commit0583d9ea8d5edc60d84971ced29db042b59302ba (patch)
tree096d0bd3dd144459edf87a99c26edcc02aa5b429
parent2065680b471d0f635d31199531042478748cd10f (diff)
downloadbcm5719-llvm-0583d9ea8d5edc60d84971ced29db042b59302ba.tar.gz
bcm5719-llvm-0583d9ea8d5edc60d84971ced29db042b59302ba.zip
Fix backwards test that I committed yesterday. Sigh
llvm-svn: 357540
-rw-r--r--libcxx/include/thread4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/thread b/libcxx/include/thread
index 400459ae7f3..3d8d2ac9ce5 100644
--- a/libcxx/include/thread
+++ b/libcxx/include/thread
@@ -436,9 +436,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<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)
OpenPOWER on IntegriCloud