This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
timezone bug and possible patch
- From: "Wu Yongwei" <adah at netstd dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 26 Mar 2002 11:25:29 +0800
- Subject: timezone bug and possible patch
time.h, l. 77
#if timezonevar
#ifndef timezone
#define timezone ((long int) _timezone)
#endif
#else
char *_EXFUN(timezone, (void));
#endif
So by default timezone is defined as a function. I am not sure whether this
is a violation of standards. If it is, maybe we could use:
#ifndef timezonefunc
#ifndef timezone
#define timezone ((long int) _timezone)
#endif
#else
char *_EXFUN(timezone, (void));
#endif
Best regards,
Wu Yongwei
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/