Add _WIN32_WINNT fallback define
This commit is contained in:
parent
178ac7432d
commit
53b676e283
4 changed files with 12 additions and 0 deletions
|
@ -28,6 +28,9 @@
|
|||
#ifndef _WIN32_WINDOWS
|
||||
# define _WIN32_WINDOWS 0x0410
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT
|
||||
# define _WIN32_WINNT 0x0400
|
||||
#endif
|
||||
#ifndef WINVER
|
||||
# define WINVER 0x0400
|
||||
#endif
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
#ifndef _WIN32_WINDOWS
|
||||
# define _WIN32_WINDOWS 0x0410
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT
|
||||
# define _WIN32_WINNT 0x0400
|
||||
#endif
|
||||
#ifndef WINVER
|
||||
# define WINVER 0x0400
|
||||
#endif
|
||||
|
|
|
@ -27,6 +27,9 @@
|
|||
#ifndef _WIN32_WINDOWS
|
||||
# define _WIN32_WINDOWS 0x0410
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT
|
||||
# define _WIN32_WINNT 0x0400
|
||||
#endif
|
||||
#ifndef WINVER
|
||||
# define WINVER 0x0400
|
||||
#endif
|
||||
|
|
|
@ -45,6 +45,9 @@
|
|||
#ifdef _WIN32
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# define _WIN32_WINDOWS 0x0410
|
||||
# ifndef _WIN32_WINNT
|
||||
# define _WIN32_WINNT 0x0400
|
||||
# endif
|
||||
# ifndef NL_COMP_MINGW
|
||||
# define WINVER 0x0400
|
||||
# define NOMINMAX
|
||||
|
|
Loading…
Reference in a new issue