Patch: some extra defines

Christopher Faylor cgf@redhat.com
Wed Apr 18 16:31:00 GMT 2001


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/



More information about the Newlib mailing list