• R/O
  • HTTP
  • SSH
  • HTTPS

mingw-org-wsl: 提交

The MinGW.org Windows System Libraries


Commit MetaInfo

修訂04cbd1f5760fd9b5b4cb0b13df59390089067851 (tree)
時間2014-12-28 23:25:09
作者Keith Marshall <keithmarshall@user...>
CommiterKeith Marshall

Log Message

Tag all files for release of mingwrt-3.21.

Change Summary

差異

--- a/mingwrt/ChangeLog
+++ b/mingwrt/ChangeLog
@@ -1,5 +1,11 @@
11 2014-12-28 Keith Marshall <keithmarshall@users.sourceforge.net>
22
3+ Tag all files for release of mingwrt-3.21.
4+
5+ * include/_mingw.h: Adjust version accordingly.
6+
7+2014-12-28 Keith Marshall <keithmarshall@users.sourceforge.net>
8+
39 Improve usage notes in stdlib.h, for mkstemp() function.
410
511 * include/stdlib.h (MKSTEMP_SETMODE): Explain usage; this is a copy of
--- a/mingwrt/include/_mingw.h
+++ b/mingwrt/include/_mingw.h
@@ -22,10 +22,19 @@
2222 */
2323 #define __MINGW_H
2424
25-#define __MINGW32_VERSION 3.20
26-#define __MINGW32_MAJOR_VERSION 3
27-#define __MINGW32_MINOR_VERSION 20
28-#define __MINGW32_PATCHLEVEL 0
25+/* In previous versions, __MINGW32_VERSION was expressed as a dotted
26+ * numeric pair, representing major.minor; unfortunately, this doesn't
27+ * adapt well to the inclusion of a patch-level component, since the
28+ * major.minor.patch dotted triplet representation is not valid as a
29+ * numeric entity. Thus, for this version, we adopt a representation
30+ * which encodes the version as a long integer value, expressing:
31+ *
32+ * __MINGW32_VERSION = 1,000,000 * major + 1,000 * minor + patch
33+ */
34+#define __MINGW32_VERSION 3021000L
35+#define __MINGW32_MAJOR_VERSION 3
36+#define __MINGW32_MINOR_VERSION 21
37+#define __MINGW32_PATCHLEVEL 0
2938
3039 #if __GNUC__ >= 3
3140 #ifndef __PCC__
Show on old repository browser