_tzname not exported from latest snapshots?

Charles S. Wilson cwilson@ece.gatech.edu
Sat Dec 4 21:29:00 GMT 1999


 
> 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



More information about the Cygwin mailing list