aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2024-11-16 11:23:15 +0200
committerGitHub <noreply@github.com>2024-11-16 11:23:15 +0200
commitdc3156d8e6dc6494bc47ba074d0c990eb27b7564 (patch)
treef1cb71039f7af2480bc2c5b5bc358fe53df3c293 /clang/lib/CodeGen/CodeGenFunction.cpp
parentdb115ba3efee9c940539667842a1092d8d956850 (diff)
downloadllvm-dc3156d8e6dc6494bc47ba074d0c990eb27b7564.zip
llvm-dc3156d8e6dc6494bc47ba074d0c990eb27b7564.tar.gz
llvm-dc3156d8e6dc6494bc47ba074d0c990eb27b7564.tar.bz2
[OpenMP] Don't hardcode _WIN32_WINNT for MinGW targets (#115708)
Instead respect what the toolchain default is (or what the user sets via CMAKE_CXX_FLAGS). This fixes builds with libcxx, with mingw toolchains targeting msvcrt.dll, after 5d8be4c036aa5ce4a94f1f37a9155d5c877e23db; after that commit, the libcxx public headers reference symbols such as iswspace_l, which are unavailable when targeting msvcrt.dll on older versions of Windows (it's only available in msvcrt.dll since Windows Vista).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions