Skip to content

Commit 86e45ff

Browse files
committed
Try bumping MinGW from Win7 to Win10
1 parent 0a74ac2 commit 86e45ff

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

cpp/cmake_modules/ThirdpartyToolchain.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3893,13 +3893,13 @@ function(build_awssdk)
38933893
set(MINIMIZE_SIZE ON)
38943894
set(USE_OPENSSL ON)
38953895

3896-
# For aws-c-common
3896+
# For aws-c-common and google-cloud-cpp
38973897
if(MINGW)
3898-
# PPROCESSOR_NUMBER requires Windows 7 or later.
3898+
# PPROCESSOR_NUMBER requires Windows 10 or later.
38993899
#
3900-
# 0x0601 == _WIN32_WINNT_WIN7
3901-
string(APPEND CMAKE_C_FLAGS " -D_WIN32_WINNT=0x0601")
3902-
string(APPEND CMAKE_CXX_FLAGS " -D_WIN32_WINNT=0x0601")
3900+
# 0x0A01 == _WIN32_WINNT_WIN10
3901+
string(APPEND CMAKE_C_FLAGS " -D_WIN32_WINNT=0x0A01")
3902+
string(APPEND CMAKE_CXX_FLAGS " -D_WIN32_WINNT=0x0A01")
39033903
endif()
39043904

39053905
# For aws-lc

0 commit comments

Comments
 (0)