]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
authorJim Meyering <jim@meyering.net>
Mon, 6 Jan 2003 13:02:33 +0000 (13:02 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 6 Jan 2003 13:02:33 +0000 (13:02 +0000)
lib/getdate.y

index e6e7c1a158adf40cdd2d1dc62a419660de568bc4..1b5148b410f4778aaf6484edd01176cbb9bc693d 100644 (file)
@@ -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;