This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: timezonevar in time.h
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: Wu Yongwei <adah at netstd dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Mon, 26 Aug 2002 15:06:32 -0400
- Subject: Re: timezonevar in time.h
- Organization: Red Hat Inc.
- References: <3D65A0A0.D9037B37@netstd.com>
Wu Yongwei wrote:
>
> Corinna Vinschen says I should send the message here, thus this forwarding.
> According to him, the file is at newlib/libc/include/time.h.
>
> Best regards,
>
> Wu Yongwei
>
Patch checked in.
-- Jeff J.
> -------- Original Message --------
> Subject: timezonevar in time.h
> Date: Thu, 22 Aug 2002 11:02:16 +0800
> From: Wu Yongwei <adah@netstd.com>
> Organization: Kingnet Security, Inc.
> To: cygwin-patches@cygwin.com
>
> The current /usr/include/time.h requires people to use
> "#define timezonevar 1" instead of just "#define timezonevar" before
> including <time.h>:
>
> --- time.h.orig 2002-07-06 14:19:00.000000000 +0800
> +++ time.h 2002-08-21 21:34:32.000000000 +0800
> @@ -109,7 +109,7 @@
> #ifndef daylight
> #define daylight _daylight
> #endif
> -#if timezonevar
> +#ifdef timezonevar
> #ifndef timezone
> #define timezone ((long int) _timezone)
> #endif
>
> Change Log:
>
> 2002-8-21 Wu Yongwei <adah@netstd.com>
>
> * time.h (timezonevar): Change "#if" to "#ifdef".