summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@acm.org>2016-04-24 20:39:15 -0700
committerTim Kientzle <kientzle@acm.org>2016-04-24 20:39:15 -0700
commit8f8bf1f92a67cf1f21e467051d7e9277520e5c7f (patch)
treeb7fa0937e5960e82d17fd6feaf506350a0e35bfb /build
parentfbfe30450e6b224f669348c8506033284625536d (diff)
downloadlibarchive-8f8bf1f92a67cf1f21e467051d7e9277520e5c7f.tar.gz
Define NTDDI_VERSION on Windows, default to Windows Server 2003 instead of WinXP
Diffstat (limited to 'build')
-rw-r--r--build/cmake/config.h.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in
index 94fbb59f..64f4d4df 100644
--- a/build/cmake/config.h.in
+++ b/build/cmake/config.h.in
@@ -1171,7 +1171,11 @@ typedef uint64_t uintmax_t;
/* Define for large files, on AIX-style hosts. */
#cmakedefine _LARGE_FILES ${_LARGE_FILES}
-/* Define for Windows to use Windows 2000+ APIs. */
+/* Define to control Windows SDK version */
+#ifndef NTDDI_VERSION
+#cmakedefine NTDDI_VERSION ${NTDDI_VERSION}
+#endif // NTDDI_VERSION
+
#ifndef _WIN32_WINNT
#cmakedefine _WIN32_WINNT ${_WIN32_WINNT}
#endif // _WIN32_WINNT