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:
ulatekh
2021-08-30 16:10:43 -07:00
committed by Brad King
parent 31c5700d43
commit 115152ce10

View File

@@ -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)