From: José Fonseca Date: Mon, 30 Apr 2012 15:34:07 +0000 (+0100) Subject: Set WINVER to 0x501. X-Git-Url: https://git.cworth.org/git?p=apitrace;a=commitdiff_plain;h=42ba4336ecf68582b4c30ea660a9b1d23e0f46b6 Set WINVER to 0x501. Must be definedin order to use VectoredExceptionHandler on Windows 8 SDK. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 033d9fe..3aaec6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ include (CheckCXXCompilerFlag) if (WIN32) # http://msdn.microsoft.com/en-us/library/aa383745.aspx - add_definitions (-D_WIN32_WINNT=0x0500 -DWINVER=0x0500) + add_definitions (-D_WIN32_WINNT=0x0501 -DWINVER=0x0501) else (WIN32) CHECK_CXX_COMPILER_FLAG("-fvisibility=hidden" CXX_COMPILER_FLAG_VISIBILITY) if (CXX_COMPILER_FLAG_VISIBILITY)