* localtime.cc: Define TM_GMTOFF and TM_ZONE based on __TM_GMTOFF and
__TM_ZONE being defined. Throughout, write to these struct tm members only if CYGWIN_VERSION_CHECK_FOR_EXTRA_TM_MEMBERS is true. * libc/strptime.cc: Ditto. * include/cygwin/version.h (CYGWIN_VERSION_CHECK_FOR_EXTRA_TM_MEMBERS): Define. (CYGWIN_VERSION_API_MINOR): Bump to 272.
This commit is contained in:
@ -104,6 +104,9 @@ details. */
|
||||
#define CYGWIN_VERSION_USE_PSEUDO_RELOC_IN_DLL(u) \
|
||||
(CYGWIN_VERSION_PER_PROCESS_API_VERSION_COMBINED (u) >= 227)
|
||||
|
||||
#define CYGWIN_VERSION_CHECK_FOR_EXTRA_TM_MEMBERS \
|
||||
(CYGWIN_VERSION_USER_API_VERSION_COMBINED >= 272)
|
||||
|
||||
#define CYGWIN_VERSION_CYGWIN_CONV 181
|
||||
|
||||
/* API_MAJOR 0.0: Initial version. API_MINOR changes:
|
||||
@ -442,12 +445,13 @@ details. */
|
||||
270: Redefine mtget.mt_resid field to contain current partition as well
|
||||
as number of partitions on tape.
|
||||
271: Export posix_spawn, posix_spawnp, and helper functions.
|
||||
272: Export tm_gmtoff and tm_zone members.
|
||||
*/
|
||||
|
||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||
|
||||
#define CYGWIN_VERSION_API_MAJOR 0
|
||||
#define CYGWIN_VERSION_API_MINOR 271
|
||||
#define CYGWIN_VERSION_API_MINOR 272
|
||||
|
||||
/* There is also a compatibity version number associated with the
|
||||
shared memory regions. It is incremented when incompatible
|
||||
|
Reference in New Issue
Block a user