From b4dcf88934b4a26510e183cf10013a31ece0d6c4 Mon Sep 17 00:00:00 2001 From: Sergiu Dotenco Date: Mon, 27 Jan 2014 14:51:10 +0100 Subject: [PATCH] Do not redefine _WIN32_WINNT and WINVER --- build/cmake/config.h.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in index c04314ee5..a6933f694 100644 --- a/build/cmake/config.h.in +++ b/build/cmake/config.h.in @@ -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} -- 2.47.2