Add a comment explaining WINVER macros for MinGW
This commit is contained in:
parent
f22f299330
commit
cfd6470946
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
/*
|
||||||
|
* MinGW defaults to WINNT 5.1 (aka XP), however some of functions used here
|
||||||
|
* require WINNT >= 6.0 APIs, which are only visible when WINVER and
|
||||||
|
* _WIN32_WINNT defines are set properly before including any system headers.
|
||||||
|
* Such API is e.g. RegSetKeyValueW.
|
||||||
|
*/
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
// 0x0600 == vista
|
// 0x0600 == vista
|
||||||
#define WINVER 0x0600
|
#define WINVER 0x0600
|
||||||
|
|
Loading…
Reference in a new issue