Skip to content

Commit

Permalink
fwd: Define _WIN32_WINNT if it's not defined at all
Browse files Browse the repository at this point in the history
(cherry picked from commit e1c6c6b)
Signed-off-by: LIU Hao <lh_mouse@126.com>
  • Loading branch information
lhmouse committed Nov 1, 2024
1 parent 43e8114 commit 6ab0e20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mcfgthread/fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
#include <limits.h>
#include <intrin.h>

#if !defined _WIN32_WINNT || (_WIN32_WINNT < 0x0601)
#if !defined _WIN32_WINNT
# define _WIN32_WINNT 0x0601
#elif _WIN32_WINNT < 0x0601
# error Please define `_WIN32_WINNT` to at least Windows 7.
#endif

Expand Down

0 comments on commit 6ab0e20

Please sign in to comment.