diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-06 13:02:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-06 13:02:33 +0000 |
commit | a7bed0741ae2480785649c4789732724420c37fd (patch) | |
tree | 5b8a8f939d1cdc6eaf31805c370fe48125400aed | |
parent | d509325269dec161d1ed799cd959e3161b64e75b (diff) | |
download | coreutils-a7bed0741ae2480785649c4789732724420c37fd.tar.xz |
(get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
-rw-r--r-- | lib/getdate.y | 2 |
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; |