[PATCH] D112081: Define __STDC_NO_THREADS__ when targeting windows-msvc (PR48704)
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 17 12:58:17 PST 2022
rnk added a comment.
In D112081#3330585 <https://reviews.llvm.org/D112081#3330585>, @emmenlau wrote:
> Current OpenSSL 1.1.1m requires `__STDC_NO_ATOMICS__` to build with clang-cl against MSVC. Is this on-topic here?
I think stdatomic.h is supposed to work with clang-cl, see this comment here:
https://github.com/llvm/llvm-project/blob/main/clang/lib/Headers/stdatomic.h#L16
If it's not working, I'd recommend filing a github issue with more details about any compile failures.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112081/new/
https://reviews.llvm.org/D112081
More information about the cfe-commits
mailing list