From 26f16a373473f2c374857b510b5ee064c474af9b Mon Sep 17 00:00:00 2001 From: Quantum Date: Mon, 19 Jul 2021 22:39:32 -0400 Subject: [PATCH] [common] windows: declare WINVER and _WIN32_WINNT This is done for consistency with the Windows-specific portions of the host. --- common/src/platform/windows/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/platform/windows/CMakeLists.txt b/common/src/platform/windows/CMakeLists.txt index 40240a35..d66fcfd5 100644 --- a/common/src/platform/windows/CMakeLists.txt +++ b/common/src/platform/windows/CMakeLists.txt @@ -5,6 +5,9 @@ include_directories( ${PROJECT_TOP}/vendor/ivshmem ) +# allow use of functions for Windows 7 or later +add_compile_definitions(WINVER=0x0601 _WIN32_WINNT=0x0601) + add_library(lg_common_platform_code STATIC debug.c crash.c