This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: _tzname not exported from latest snapshots?


 
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]