We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ecba6 commit d7bbd9bCopy full SHA for d7bbd9b
CMakeLists.txt
@@ -115,6 +115,12 @@ if (XCODE)
115
set_property(GLOBAL PROPERTY XCODE_EMIT_EFFECTIVE_PLATFORM_NAME OFF)
116
endif()
117
118
+if (WIN32)
119
+ # Ensure Windows SDK exposes newer APIs like PPROCESSOR_NUMBER
120
+ # https://github.com/aws/aws-iot-device-sdk-cpp-v2/issues/427
121
+ add_compile_definitions(_WIN32_WINNT=0x0601)
122
+endif()
123
+
124
# Create a single static library that combines all the individual libs
125
# We do this to work around issues with link order when including multiple
126
# `staticLibraries` in the cinterop file.
0 commit comments