]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Do not redefine _WIN32_WINNT and WINVER 63/head
authorSergiu Dotenco <sergiu.dotenco@th-nuernberg.de>
Mon, 27 Jan 2014 13:51:10 +0000 (14:51 +0100)
committerSergiu Dotenco <sergiu.dotenco@th-nuernberg.de>
Mon, 27 Jan 2014 14:00:22 +0000 (15:00 +0100)
build/cmake/config.h.in

index c04314ee5e326e291178718786b0c878cd4ae091..a6933f6942f7e1d8facaa6ef37199efd6623063b 100644 (file)
@@ -1106,8 +1106,13 @@ typedef uint64_t uintmax_t;
 #cmakedefine _LARGE_FILES ${_LARGE_FILES}
 
 /* Define for Windows to use Windows 2000+ APIs. */
+#ifndef _WIN32_WINNT
 #cmakedefine _WIN32_WINNT ${_WIN32_WINNT}
+#endif // _WIN32_WINNT
+
+#ifndef WINVER
 #cmakedefine WINVER ${WINVER}
+#endif // WINVER
 
 /* Define to empty if `const' does not conform to ANSI C. */
 #cmakedefine const ${const}