diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-28 03:33:30 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-28 03:33:30 +0400 |
commit | 491110627f5515bf3d1ecdb42b1dabf7c53f116b (patch) | |
tree | 1409694d9daf0a978602c523b77a5b8b5c3400c6 /winsup/cygwin/times.cc | |
parent | c4a2d2f3e1e38585685c1bf1c50835fd3424af38 (diff) |
* times.cc (hires_ms::usecs): Compare the difference.
* hires.h: Add parentheses to HIRES_DELAY_MAX.
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 4c0909eb5..2ac2ee609 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -597,7 +597,7 @@ hires_ms::usecs (bool justdelta) if (!minperiod) /* NO_COPY variable */ prime (); DWORD now = timeGetTime (); - if (now < initime_ms) + if ((now - initime_ms) < 0) { inited = 0; prime (); |