diff options
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | 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,5 +1,9 @@ 2005-11-18 Christopher Faylor <cgf@timesys.com> + * include/time.h: Remove more cygwin-specific stuff. + +2005-11-18 Christopher Faylor <cgf@timesys.com> + * include/time.h: Move cygwin declarations to cygwin-specific header. * include/sys/time.h: Rename cygwin include to "sys_time.h". 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 */ |