re PR libstdc++/59680 (Compile error in thread.cc)
PR libstdc++/59680 * src/c++11/thread.cc (__sleep_for): Fix call to ::sleep. From-SVN: r206504
This commit is contained in:
parent
cd4447e235
commit
4bc0ec3261
@ -4,6 +4,9 @@
|
||||
* include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
|
||||
support for non-Movable types.
|
||||
|
||||
PR libstdc++/59680
|
||||
* src/c++11/thread.cc (__sleep_for): Fix call to ::sleep.
|
||||
|
||||
2014-01-08 François Dumont <fdumont@gcc.gnu.org>
|
||||
|
||||
* include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
|
||||
|
@ -183,7 +183,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
::usleep(__us);
|
||||
}
|
||||
# else
|
||||
::sleep(__s.count() + (__ns >= 1000000));
|
||||
::sleep(__s.count() + (__ns.count() >= 1000000));
|
||||
# endif
|
||||
#elif defined(_GLIBCXX_HAVE_WIN32_SLEEP)
|
||||
unsigned long ms = __ns.count() / 1000000;
|
||||
|
Loading…
x
Reference in New Issue
Block a user