* include/_mingw.h: Add __MINGW_VERSION, __MINGW_MAJOR_VERSION,

__MINGW_MINOR_VERSION and __MINGW_PATCHLEVEL deprecating the __MINGW32_*
	versions of the macros.
	* configure.in: Use __MINGW_VERSION instead of __MINGW32_VERSION.
	* configure: Ditto.
This commit is contained in:
Earnie Boyd
2012-07-30 14:49:16 +00:00
parent 31938000a5
commit 67b37a26aa
4 changed files with 18 additions and 6 deletions

View File

@ -22,6 +22,13 @@
*/
#define __MINGW_H
#define __MINGW_VERSION 4
#define __MINGW_MAJOR_VERSION 0
#define __MINGW_MINOR_VERSION 0
#define __MINGW_PATCHLEVEL 0
// These four macros are deprecated and will be removed in the next major
// version release.
#define __MINGW32_VERSION 3.20
#define __MINGW32_MAJOR_VERSION 3
#define __MINGW32_MINOR_VERSION 20
@ -40,10 +47,10 @@
__MINGW_IMPORT The attribute definition to specify imported
variables/functions.
_CRTIMP As above. For MS compatibility.
__MINGW32_VERSION Runtime version.
__MINGW32_MAJOR_VERSION Runtime major version.
__MINGW32_MINOR_VERSION Runtime minor version.
__MINGW32_BUILD_DATE Runtime build date.
__MINGW_VERSION Runtime version.
__MINGW_MAJOR_VERSION Runtime major version.
__MINGW_MINOR_VERSION Runtime minor version.
__MINGW_BUILD_DATE Runtime build date.
Macros to enable MinGW features which deviate from standard MSVC
compatible behaviour; these may be specified directly in user code,