From c1534dbe09c79bb45a2330cde75a1878022a6158 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 18 Nov 2005 15:57:24 +0000 Subject: [PATCH] * include/time.h: Remove more cygwin-specific stuff. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/time.h | 18 ------------------ 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index e2993e2bb..97824e9d8 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2005-11-18 Christopher Faylor + + * include/time.h: Remove more cygwin-specific stuff. + 2005-11-18 Christopher Faylor * include/time.h: Move cygwin declarations to cygwin-specific header. diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h index 60603e198..8d3a30c8a 100644 --- a/newlib/libc/include/time.h +++ b/newlib/libc/include/time.h @@ -123,20 +123,6 @@ extern __IMPORT char *_tzname[2]; #ifndef tzname #define tzname _tzname #endif - -/* CYGWIN also exposes daylight and timezone in the name space */ -#ifdef __CYGWIN__ -#ifndef daylight -#define daylight _daylight -#endif -#ifdef timezonevar -#ifndef timezone -#define timezone _timezone -#endif -#else -char *_EXFUN(timezone, (void)); -#endif -#endif /* __CYGWIN__ */ #endif /* !__STRICT_ANSI__ */ #ifdef __cplusplus @@ -217,10 +203,6 @@ extern "C" { associated with a time. */ #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 */