From a7bed0741ae2480785649c4789732724420c37fd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 6 Jan 2003 13:02:33 +0000 Subject: (get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE. --- lib/getdate.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/getdate.y b/lib/getdate.y index e6e7c1a15..1b5148b41 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; -- cgit v1.2.3-70-g09d2