bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs


From: Jason Rumney
Subject: Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs
Date: 10 Jun 2003 23:51:46 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Dave Love <address@hidden> writes:

> Jason Rumney <address@hidden> writes:
> 
> > An alternative would be to
> > use configure tests to detect when tzname[] is not declared by <time.h>
> > or <sys/time.h>, and only declare it in that case.
> 
> As I said, there already is such a test, and the Windows port defines
> HAVE_TZNAME (which is one of the things the autoconf test does).
> Should it not do so?

If HAVE_TZNAME means what I think it does, then the Windows port
should define it.  The problem in this case is that the declaration
in strftime.c conflicts with the one in <time.h> when built with
MingW32, because of the fact that tzname[] actually resides within a
shared library, so its method of dereferencing is not normal.






reply via email to

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