From 3536f0fb2bfacd1a8aca675c2ab1cd1fbf3e5798 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 9 Feb 2004 22:56:46 +0000 Subject: [PATCH] * libc/include/time.h (TIMER_RELTIME): New define. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/time.h | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 220a9122d..6e298d197 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2004-02-09 Christopher Faylor + + * libc/include/time.h (TIMER_RELTIME): New define. + 2004-02-09 Jeff Johnston * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS. diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h index f83c38d05..a50bd608f 100644 --- a/newlib/libc/include/time.h +++ b/newlib/libc/include/time.h @@ -202,7 +202,11 @@ extern "C" { /* Flag indicating time is "absolute" with respect to the clock associated with a time. */ -#define TIMER_ABSTIME 4 +#define TIMER_ABSTIME 4 +#ifdef __CYGWIN__ +# define TIMER_RELTIME 0 /* For compatibility with HP/UX, Solaris, + others? */ +#endif /* Manifest Constants, P1003.4b/D8, p. 55 */