This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Patch: some extra defines
- To: Robert Collins <robert dot collins at itdomain dot com dot au>
- Subject: Re: Patch: some extra defines
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Wed, 18 Apr 2001 19:31:56 -0400
- Cc: newlib at sources dot redhat dot com
- References: <012401c0b775$2a5082f0$0200a8c0@lifelesswks>
Is there any further word on this patch? It doesn't seem to be
checked in.
I have no objections to this patch.
cgf
On Wed, Mar 28, 2001 at 08:52:15PM +1000, Robert Collins wrote:
>The attached patch creates a define for tzname, daylight and timzeone ,
>which I got the definitions for from the opengroup standards pages.
>These three variables are apparently part of the "SVID issue 1"
>standard - whatever that is.
>
>I did this because a program I was porting tested for tzname, not
>_tzname (which is currently defined).
>
>Lastly, there is a symbol conflict - timezone() with long int timezone,
>so I've #ifdef'd that symbol. If a user defines timezonevar (Couldn't
>see a better define to base it on :[ ), then timezone will be #defd to
>_timezone. This won't cause linking or compatablity issues - it's
>strictly a compile time decision.
>
>Rob
--
cgf@cygnus.com Red Hat, Inc.
http://sources.redhat.com/ http://www.redhat.com/