struct tm problem

Yitzchak Scott-Thoennes sthoenna@efn.org
Tue May 24 04:00:00 GMT 2005


On Mon, May 23, 2005 at 07:58:01PM -0700, Yitzchak Scott-Thoennes wrote:
> tm_gmtoff is not required by the standard:
> http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html
> 
> However, it is an extension available in the Olson tzcode, which
> cygwin seems to use.  Enabling it would seem to be a matter of
> setting -DTM_GMTOFF=tm_gmtoff and adding it to time.h.

Clarification: that macro would need to be defined when compiling
the relevant parts of the cygwin dll, not the C++ libraries you
are trying to compile.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list