The MinGW.org Windows System Libraries
修订版 | 04cbd1f5760fd9b5b4cb0b13df59390089067851 (tree) |
---|---|
时间 | 2014-12-28 23:25:09 |
作者 | Keith Marshall <keithmarshall@user...> |
Commiter | Keith Marshall |
Tag all files for release of mingwrt-3.21.
@@ -1,5 +1,11 @@ | ||
1 | 1 | 2014-12-28 Keith Marshall <keithmarshall@users.sourceforge.net> |
2 | 2 | |
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 | + | |
3 | 9 | Improve usage notes in stdlib.h, for mkstemp() function. |
4 | 10 | |
5 | 11 | * include/stdlib.h (MKSTEMP_SETMODE): Explain usage; this is a copy of |
@@ -22,10 +22,19 @@ | ||
22 | 22 | */ |
23 | 23 | #define __MINGW_H |
24 | 24 | |
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 | |
29 | 38 | |
30 | 39 | #if __GNUC__ >= 3 |
31 | 40 | #ifndef __PCC__ |