Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-03-05 16:45:49 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-03-05 16:45:49 +0400
commit27afe3a4abea797790659f7ce2302a6105f9d475 (patch)
treeef28b87aee071710775ef68a4ffc445987bf5686 /winsup/cygwin/include
parent07be216aabff46148510557d1ce6cef470a2a002 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/version.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 03e9b55bb..e77e7104a 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -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