[tz] zdump no longer reports gmtoff
eggert at cs.ucla.edu
Thu Jan 31 17:37:12 UTC 2013
On 01/31/13 07:04, Robert Elz wrote:
> (at least on some systems)
> private.h is where the relevant #defines tend to be placed (rather than
> in CFLAGS in the Makefile).
That sounds like a mistake; TM_GMTOFF should not be defined in
private.h, since it's a property of struct tm, a public interface,
rather than something private to the tz code.
The usual way to handle this problem is to have a separate
'configure' script that determines which TM_GMTOFF is
appropriate for the current system. We could head in that
direction if there's interest, though it would complicate
building a bit.
More information about the tz