projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3228ef
)
Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
author
Bruno Haible
<bruno@clisp.org>
Tue, 31 Dec 2002 12:57:56 +0000
(12:57 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Tue, 31 Dec 2002 12:57:56 +0000
(12:57 +0000)
lib/ChangeLog
patch
|
blob
|
history
lib/getdate.y
patch
|
blob
|
history
diff --git
a/lib/ChangeLog
b/lib/ChangeLog
index 0b9c9c1b229fe30243266dbad4d00cca572b4108..d059c948c8cc731ee0a071e07e8895d51e1f1b74 100644
(file)
--- a/
lib/ChangeLog
+++ b/
lib/ChangeLog
@@
-1,3
+1,7
@@
+2002-12-22 Bruno Haible <bruno@clisp.org>
+
+ * getdate.y (get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
+
2002-12-23 Bruno Haible <bruno@clisp.org>
* getline.h: Include <stddef.h>, for size_t.
diff --git
a/lib/getdate.y
b/lib/getdate.y
index e6e7c1a158adf40cdd2d1dc62a419660de568bc4..1b5148b410f4778aaf6484edd01176cbb9bc693d 100644
(file)
--- 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;