MinGW


Table of Contents

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

TypeMacroDescriptionMinGWMinGW-w64 32-bitMinGW-w64 64-bit
Identification__MINGW32__ DefinedDefinedDefined
Version__MINGW32_MAJOR_VERSIONVersionDefinedDefinedDefined
Version__MINGW32_MINOR_VERSIONRevisionDefinedDefinedDefined
Identification__MINGW64__ ----Defined
Version__MINGW64_VERSION_MAJORVersion--DefinedDefined
Version__MINGW64_VERSION_MINORRevision-DefinedDefined

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.

 
Return to top
 
Created: