diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-27 23:33:30 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-27 23:33:30 +0000 |
commit | 491110627f5515bf3d1ecdb42b1dabf7c53f116b (patch) | |
tree | 1409694d9daf0a978602c523b77a5b8b5c3400c6 /winsup/cygwin/hires.h | |
parent | c4a2d2f3e1e38585685c1bf1c50835fd3424af38 (diff) | |
download | cygnal-491110627f5515bf3d1ecdb42b1dabf7c53f116b.tar.gz cygnal-491110627f5515bf3d1ecdb42b1dabf7c53f116b.tar.bz2 cygnal-491110627f5515bf3d1ecdb42b1dabf7c53f116b.zip |
* times.cc (hires_ms::usecs): Compare the difference.
* hires.h: Add parentheses to HIRES_DELAY_MAX.
Diffstat (limited to 'winsup/cygwin/hires.h')
-rw-r--r-- | winsup/cygwin/hires.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/hires.h b/winsup/cygwin/hires.h index 2c9f09c81..a3e15aad0 100644 --- a/winsup/cygwin/hires.h +++ b/winsup/cygwin/hires.h @@ -19,7 +19,7 @@ details. */ The tv_sec argument in timeval structures cannot exceed HIRES_DELAY_MAX / 1000 - 1, so that adding fractional part and rounding won't exceed HIRES_DELAY_MAX */ -#define HIRES_DELAY_MAX (((UINT_MAX - 10000) / 1000) * 1000) + 10 +#define HIRES_DELAY_MAX ((((UINT_MAX - 10000) / 1000) * 1000) + 10) class hires_base { |