OSDN Git Service

* include/time.h: Remove more cygwin-specific stuff.
authorcgf <cgf>
Fri, 18 Nov 2005 15:57:24 +0000 (15:57 +0000)
committercgf <cgf>
Fri, 18 Nov 2005 15:57:24 +0000 (15:57 +0000)
newlib/ChangeLog
newlib/libc/include/time.h

index e2993e2..97824e9 100644 (file)
@@ -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".
 
index 60603e1..8d3a30c 100644 (file)
@@ -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 */