[libcxx-commits] [libcxx] [libc++] Enable C++ stdatomic.h for all C++ versions (PR #95498)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 19 06:43:34 PDT 2024
================
@@ -121,7 +121,7 @@ using std::atomic_signal_fence // see below
# pragma GCC system_header
#endif
-#if defined(__cplusplus) && _LIBCPP_STD_VER >= 23
+#if defined(__cplusplus)
----------------
ldionne wrote:
Nevermind, I was under the wrong impression that `stdatomic.h` was only provided in C++. It's also a C header, so of course it would need this `#if defined(__cplusplus)`.
https://github.com/llvm/llvm-project/pull/95498
More information about the libcxx-commits
mailing list