diff options
author | Mark de Wever <koraq@xs4all.nl> | 2024-01-16 19:13:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 19:13:40 +0100 |
commit | 34933d1872b5eefb94dbd30dce3c342db008ad1c (patch) | |
tree | 501b985e2205931f704c279adee72a83ba0e188b /llvm/lib/Object/Binary.cpp | |
parent | e0443624b9b418cd2a1b26cac662885aedfb4977 (diff) | |
download | llvm-34933d1872b5eefb94dbd30dce3c342db008ad1c.zip llvm-34933d1872b5eefb94dbd30dce3c342db008ad1c.tar.gz llvm-34933d1872b5eefb94dbd30dce3c342db008ad1c.tar.bz2 |
[libc++] Improves _LIBCPP_HAS_NO_THREADS guards. (#76624)
Previously the header included several headers, possibly granularized
threading headers. This could lead to build errors when these headers
were incompatible with threading disabled.
Now test the guard before inclusion. This matches the pattern used for
no localization and no wide characters.
Fixes: https://github.com/llvm/llvm-project/issues/76620
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions