From: Bruno Haible Date: Tue, 31 Dec 2002 12:57:56 +0000 (+0000) Subject: Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0183445c320cb405d26cde02111adec107e54d9e;p=pspp Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 0b9c9c1b22..d059c948c8 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2002-12-22 Bruno Haible + + * getdate.y (get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE. + 2002-12-23 Bruno Haible * getline.h: Include , for size_t. 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;