[tz] USG_COMPAT and POSIX and XOPEN macros

Andras Farkas deepbluemistake at gmail.com
Tue Dec 3 02:57:27 UTC 2019


On Mon, Dec 2, 2019 at 9:28 PM Paul Eggert <eggert at cs.ucla.edu> wrote:
> Thanks for the bug report. Unfortunately that patch would refer to
> TZ_TIME_T before it's defined, and TZ_TIME_T's definition depends on
> time.h which must be included after the first part of the patch. So I
Oh!  Good point.
> installed the attached patch, which does not refer to TZ_TIME_H and
> which I hope fixes the problem in a simpler way.
This looks good and runs perfectly.
Both
CFLAGS= -DUSG_COMPAT=2
CFLAGS= -DUSG_COMPAT=2 -DHAVE_POSIX_DECLS=0
work A-OK now!
Thanks! :D


More information about the tz mailing list