2001-04-19 Robert Collins <rbtcollins@hotmail.com>
* include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined. Define daylight to _daylight if it is not defined Prepare a variable export of timezone based on timezonevariable. (Cannot be used with the timezone() function.)
This commit is contained in:
parent
3ee14d6850
commit
ee9f39fb3a
|
@ -1,3 +1,10 @@
|
||||||
|
2001-04-19 Robert Collins <rbtcollins@hotmail.com>
|
||||||
|
|
||||||
|
* include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
|
||||||
|
Define daylight to _daylight if it is not defined
|
||||||
|
Prepare a variable export of timezone based on timezonevariable.
|
||||||
|
(Cannot be used with the timezone() function.)
|
||||||
|
|
||||||
2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
|
2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
|
||||||
|
|
||||||
* newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
|
* newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
|
||||||
|
|
|
@ -66,8 +66,20 @@ struct tm *_EXFUN(localtime_r, (const time_t *, struct tm *));
|
||||||
extern __IMPORT time_t _timezone;
|
extern __IMPORT time_t _timezone;
|
||||||
extern __IMPORT int _daylight;
|
extern __IMPORT int _daylight;
|
||||||
extern __IMPORT char *_tzname[2];
|
extern __IMPORT char *_tzname[2];
|
||||||
|
/* defines for the opengroup specifications Derived from Issue 1 of the SVID. */
|
||||||
|
#ifndef tzname
|
||||||
|
#define tzname _tzname
|
||||||
|
#endif
|
||||||
|
#ifndef daylight
|
||||||
|
#define daylight _daylight
|
||||||
|
#endif
|
||||||
|
#if timezonevar
|
||||||
|
#ifndef timezone
|
||||||
|
#define timezone ((long int) _timezone)
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
char *_EXFUN(timezone, (void));
|
char *_EXFUN(timezone, (void));
|
||||||
|
#endif
|
||||||
void _EXFUN(tzset, (void));
|
void _EXFUN(tzset, (void));
|
||||||
#endif
|
#endif
|
||||||
#endif /* __CYGWIN__ */
|
#endif /* __CYGWIN__ */
|
||||||
|
|
Loading…
Reference in New Issue