Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-28 03:33:30 +0400
committerChristopher Faylor <me@cgf.cx>2005-03-28 03:33:30 +0400
commit491110627f5515bf3d1ecdb42b1dabf7c53f116b (patch)
tree1409694d9daf0a978602c523b77a5b8b5c3400c6 /winsup/cygwin/hires.h
parentc4a2d2f3e1e38585685c1bf1c50835fd3424af38 (diff)
* 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.h2
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
{