Fix problem with getdate on mingw32 reported by Simon Josefsson
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Jan 2008 00:32:59 +0000 (16:32 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Jan 2008 00:32:59 +0000 (16:32 -0800)
commit2f2f93bfb6e0991467a287c1f4a3e0c13b227ef1
treecb6f4c30b967eb506752a8e7ba45fce909b2666e
parent6ead6fb5989d246b06d28ae343cc1e8a319c1676
Fix problem with getdate on mingw32 reported by Simon Josefsson

in <http://lists.gnu.org/archive/html/bug-gnulib/2008-01/msg00192.html>.
* lib/getdate.y (get_date): Check "HAVE_DECL_TZNAME", not "defined
tzname", when deciding whether to declare tzname.
* lib/strftime.c (tzname): Likewise.
ChangeLog
lib/getdate.y
lib/strftime.c