From 491110627f5515bf3d1ecdb42b1dabf7c53f116b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 27 Mar 2005 23:33:30 +0000 Subject: * times.cc (hires_ms::usecs): Compare the difference. * hires.h: Add parentheses to HIRES_DELAY_MAX. --- winsup/cygwin/hires.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/hires.h') 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 { -- cgit v1.2.3