mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
KWSys: SystemTools: Ensure Windows Vista APIs are available before using them
Backport KWSys commit `4ef5b1063` (SystemTools: Ensure Windows Vista APIs are available before using them, 2021-08-30) to the CMake 3.21 release branch.
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(_WIN32_WINNT)
|
||||
# define _WIN32_WINNT _WIN32_WINNT_VISTA
|
||||
#endif
|
||||
|
||||
#include "kwsysPrivate.h"
|
||||
#include KWSYS_HEADER(RegularExpression.hxx)
|
||||
#include KWSYS_HEADER(SystemTools.hxx)
|
||||
|
||||
Reference in New Issue
Block a user