This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: _tzname not exported from latest snapshots?
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: _tzname not exported from latest snapshots?
- From: "Charles S. Wilson" <cwilson at ece dot gatech dot edu>
- Date: Sun, 05 Dec 1999 00:31:28 -0500
- References: <3849D875.C02208DD@ece.gatech.edu>
> Can anybody shed some light on this? Where is _tzname defined?
Thanks to the informative comments from Mumit Khan and Chris Faylor,
this problem is solved. Here's the offending section of code in POSIX.c
: (tzname #defined as _tzname)
#ifdef HAS_TZNAME
# ifndef WIN32
extern char *tzname[]; <<<<<<<<<<<<<
# endif
#else
# if !defined(WIN32) || (defined(__MINGW32__) && !defined(tzname))
char *tzname[] = { "" , "" };
# endif
#endif
Fixed by putting an #ifdef __CYGWIN__ guard around it. So why did this
work as is, with cygwin-b20.1 ?
Thanks,
Chuck
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com