This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Patch: some extra defines
- To: <newlib at sources dot redhat dot com>
- Subject: Patch: some extra defines
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Wed, 28 Mar 2001 20:52:15 +1000
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
tz.changelog
tz.patch