[libcxx-commits] [libcxx] [libc++] Enable C++ stdatomic.h for all C++ versions (PR #95498)
Vincent Lee via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 16 23:40:48 PDT 2024
thevinster wrote:
At Meta, we build libc++ from source when targeting Android and we've ran into the issue where sources include `<stdatomic.h>`. This eventually ends up including the Android NDK's `<stdatomic.h>` which includes `<atomic>` (noted in the summary). I believe this patch solves this use case without resorting to a workaround of gating `<stdatomic.h>` under `#if !defined(__cplusplus)` in user code. Is there any progress on this?
https://github.com/llvm/llvm-project/pull/95498
More information about the libcxx-commits
mailing list