|
|
Description
MinGW
is a toolchain for creating Windows executables. The MinGW-w64 projects
offers toolchains for creating 32-bit and 64-bit Windows executables.
Macros
| Type |
Macro |
Description |
MinGW |
MinGW-w64 32-bit |
MinGW-w64 64-bit |
| Identification |
__MINGW32__ |
|
defined |
defined |
defined |
| Version |
__MINGW32_MAJOR_VERSION |
Version |
defined |
defined |
defined |
| Version |
__MINGW32_MINOR_VERSION |
Revision |
defined |
defined |
defined |
| Identification |
__MINGW64__ |
|
- |
- |
defined |
| Version |
__MINGW64_VERSION_MAJOR |
Version |
- |
defined |
defined |
| Version |
__MINGW64_VERSION_MINOR |
Revision |
- |
defined |
defined |
Notes
Notice that __MINGW32_MAJOR_VERSION,
__MINGW32_MINOR_VERSION,
__MINGW64_VERSION_MAJOR,
and __MINGW64_VERSION_MINOR
are only defined if appropriate headers are included.
Appropriate headers are stdlib.h,
stdio.h, windows.h,
windef.h, and probably
more.
|