projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2065680
)
Fix backwards test that I committed yesterday. Sigh
author
Marshall Clow
<mclow.lists@gmail.com>
Wed, 3 Apr 2019 00:01:03 +0000
(
00:01
+0000)
committer
Marshall Clow
<mclow.lists@gmail.com>
Wed, 3 Apr 2019 00:01:03 +0000
(
00:01
+0000)
llvm-svn: 357540
libcxx/include/thread
patch
|
blob
|
history
diff --git
a/libcxx/include/thread
b/libcxx/include/thread
index
400459a
..
3d8d2ac
100644
(file)
--- 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)