bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] getdate.y, HAVE_TM_ZONE


From: Bruno Haible
Subject: [Bug-gnulib] getdate.y, HAVE_TM_ZONE
Date: Tue, 31 Dec 2002 13:57:21 +0100 (CET)

Hi,

I made this change. The autoconf documentation says that HAVE_TM_ZONE is
obsolete.


2002-12-22  Bruno Haible  <address@hidden>

        * getdate.y (get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.

diff -r -c3 gnulib-cvs/lib/getdate.y gnulib/lib/getdate.y
*** gnulib-cvs/lib/getdate.y    2002-01-16 23:43:41.000000000 +0100
--- gnulib/lib/getdate.y        2002-12-22 13:51:36.000000000 +0100
***************
*** 908,914 ****
    pc.local_zones_seen = 0;
    pc.zones_seen = 0;
  
! #if HAVE_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;
--- 908,914 ----
    pc.local_zones_seen = 0;
    pc.zones_seen = 0;
  
! #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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]