summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-09-09 17:19:38 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-09-09 17:19:53 (GMT)
commitd2a5fef985c03e347872d3b0bc7e9c311eac8fc5 (patch)
treeabc38aec8a2a26d2ccbd971e4e8d42a2069a2c14 /Source
parent0e097776fab7fa1235b5bb77f2f0b031c9c42e2d (diff)
parent115152ce103ddaf9ae4bc43d362d892731de8307 (diff)
downloadCMake-d2a5fef985c03e347872d3b0bc7e9c311eac8fc5.zip
CMake-d2a5fef985c03e347872d3b0bc7e9c311eac8fc5.tar.gz
CMake-d2a5fef985c03e347872d3b0bc7e9c311eac8fc5.tar.bz2
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
Diffstat (limited to 'Source')
-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 7c26974..f610a70 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)