summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-09-09 17:19:38 +0000
committerKitware Robot <kwrobot@kitware.com>2021-09-09 13:19:53 -0400
commitd2a5fef985c03e347872d3b0bc7e9c311eac8fc5 (patch)
treeabc38aec8a2a26d2ccbd971e4e8d42a2069a2c14
parent0e097776fab7fa1235b5bb77f2f0b031c9c42e2d (diff)
parent115152ce103ddaf9ae4bc43d362d892731de8307 (diff)
downloadcmake-d2a5fef985c03e347872d3b0bc7e9c311eac8fc5.tar.gz
Merge topic 'update-kwsys' into release-3.21
115152ce10 KWSys: SystemTools: Ensure Windows Vista APIs are available before using them Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6500
-rw-r--r--Source/kwsys/SystemTools.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 7c26974ef8..f610a7050b 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -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)