Merge pull request #9820 from sayurin/fix-win32-winnt

[boost-modular-build-helper] fix _WIN32_WINNT definition
This commit is contained in:
Robert Schumacher 2020-02-06 15:13:45 -08:00 committed by GitHub
commit abd170d8e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -1,2 +1,2 @@
Source: boost-modular-build-helper
Version: 1.72.0
Version: 1.72.0-1

View File

@ -264,8 +264,6 @@ function(boost_modular_build)
string(REPLACE "\\" "/" PLATFORM_WINMD_DIR ${PLATFORM_WINMD_DIR}) # escape backslashes
set(TOOLSET_OPTIONS "${TOOLSET_OPTIONS} <cflags>-Zl <compileflags> /AI\"${PLATFORM_WINMD_DIR}\" <linkflags>WindowsApp.lib <cxxflags>/ZW <compileflags>-DVirtualAlloc=VirtualAllocFromApp <compileflags>-D_WIN32_WINNT=0x0A00")
else()
set(TOOLSET_OPTIONS "${TOOLSET_OPTIONS} <compileflags>-D_WIN32_WINNT=0x0602")
endif()
configure_file(${_bm_DIR}/user-config.jam ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/user-config.jam @ONLY)