* include/time.h: Remove more cygwin-specific stuff.
This commit is contained in:
parent
4c57fb4960
commit
c1534dbe09
|
@ -1,3 +1,7 @@
|
||||||
|
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* include/time.h: Remove more cygwin-specific stuff.
|
||||||
|
|
||||||
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* include/time.h: Move cygwin declarations to cygwin-specific header.
|
* include/time.h: Move cygwin declarations to cygwin-specific header.
|
||||||
|
|
|
@ -123,20 +123,6 @@ extern __IMPORT char *_tzname[2];
|
||||||
#ifndef tzname
|
#ifndef tzname
|
||||||
#define tzname _tzname
|
#define tzname _tzname
|
||||||
#endif
|
#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__ */
|
#endif /* !__STRICT_ANSI__ */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -217,10 +203,6 @@ extern "C" {
|
||||||
associated with a time. */
|
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 */
|
/* Manifest Constants, P1003.4b/D8, p. 55 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue