diff options
Diffstat (limited to 'gcc-4.8/libstdc++-v3/src/c++11/thread.cc')
-rw-r--r-- | gcc-4.8/libstdc++-v3/src/c++11/thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.8/libstdc++-v3/src/c++11/thread.cc b/gcc-4.8/libstdc++-v3/src/c++11/thread.cc index 8d040a729..0351f19e0 100644 --- a/gcc-4.8/libstdc++-v3/src/c++11/thread.cc +++ b/gcc-4.8/libstdc++-v3/src/c++11/thread.cc @@ -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; |