diff --git a/Runtimes/Core/Concurrency/CMakeLists.txt b/Runtimes/Core/Concurrency/CMakeLists.txt index e084238517d37..017ee34bed322 100644 --- a/Runtimes/Core/Concurrency/CMakeLists.txt +++ b/Runtimes/Core/Concurrency/CMakeLists.txt @@ -102,6 +102,7 @@ add_library(swift_Concurrency include(${SwiftCore_CONCURRENCY_GLOBAL_EXECUTOR}.cmake) target_compile_definitions(swift_Concurrency PRIVATE + $<$:-DSWIFT_RUNTIME> $<$:-DSWIFT_TARGET_LIBRARY_NAME=swift_Concurrency> # NOTE: VS2017 <15.8 would round clamp alignment to alignof(max_align_t) which # was non-conformant. Indicate that we wish to use extended alignment.