From 778c066fd4b3e51981a76e7b8b41be1723dfac68 Mon Sep 17 00:00:00 2001 From: Kurata Sayuri Date: Sun, 26 Jan 2020 10:57:51 +0900 Subject: [PATCH] remove _WIN32_WINNT definition from not WindowsStore. --- ports/boost-modular-build-helper/boost-modular-build.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/ports/boost-modular-build-helper/boost-modular-build.cmake b/ports/boost-modular-build-helper/boost-modular-build.cmake index 391f1793c..d5529c127 100644 --- a/ports/boost-modular-build-helper/boost-modular-build.cmake +++ b/ports/boost-modular-build-helper/boost-modular-build.cmake @@ -264,8 +264,6 @@ function(boost_modular_build) string(REPLACE "\\" "/" PLATFORM_WINMD_DIR ${PLATFORM_WINMD_DIR}) # escape backslashes set(TOOLSET_OPTIONS "${TOOLSET_OPTIONS} -Zl /AI\"${PLATFORM_WINMD_DIR}\" WindowsApp.lib /ZW -DVirtualAlloc=VirtualAllocFromApp -D_WIN32_WINNT=0x0A00") - else() - set(TOOLSET_OPTIONS "${TOOLSET_OPTIONS} -D_WIN32_WINNT=0x0602") endif() configure_file(${_bm_DIR}/user-config.jam ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/user-config.jam @ONLY)