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.
2 parents 4299093 + b81024c commit 148d08bCopy full SHA for 148d08b
stdlib/cmake/modules/AddSwiftStdlib.cmake
@@ -215,9 +215,7 @@ function(_add_target_variant_c_compile_flags)
215
list(APPEND result "-DLLVM_ON_WIN32")
216
list(APPEND result "-D_CRT_SECURE_NO_WARNINGS")
217
list(APPEND result "-D_CRT_NONSTDC_NO_WARNINGS")
218
- if(NOT "${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
219
- list(APPEND result "-D_CRT_USE_BUILTIN_OFFSETOF")
220
- endif()
+ list(APPEND result "-D_CRT_USE_BUILTIN_OFFSETOF")
221
# TODO(compnerd) permit building for different families
222
list(APPEND result "-D_CRT_USE_WINAPI_FAMILY_DESKTOP_APP")
223
if("${CFLAGS_ARCH}" MATCHES arm)
0 commit comments