summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-06 13:02:33 +0000
committerJim Meyering <jim@meyering.net>2003-01-06 13:02:33 +0000
commita7bed0741ae2480785649c4789732724420c37fd (patch)
tree5b8a8f939d1cdc6eaf31805c370fe48125400aed /lib
parentd509325269dec161d1ed799cd959e3161b64e75b (diff)
downloadcoreutils-a7bed0741ae2480785649c4789732724420c37fd.tar.xz
(get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
Diffstat (limited to 'lib')
-rw-r--r--lib/getdate.y2
1 files changed, 1 insertions, 1 deletions
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;