From: Jim Meyering Date: Mon, 6 Jan 2003 13:02:33 +0000 (+0000) Subject: (get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE. X-Git-Tag: v4.5.5~330 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7bed0741ae2480785649c4789732724420c37fd;p=thirdparty%2Fcoreutils.git (get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE. --- diff --git a/lib/getdate.y b/lib/getdate.y index e6e7c1a158..1b5148b410 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -908,7 +908,7 @@ get_date (const char *p, const time_t *now) pc.local_zones_seen = 0; pc.zones_seen = 0; -#if HAVE_TM_ZONE +#if HAVE_STRUCT_TM_TM_ZONE pc.local_time_zone_table[0].name = tmp->tm_zone; pc.local_time_zone_table[0].type = tLOCAL_ZONE; pc.local_time_zone_table[0].value = tmp->tm_isdst;