[libcxx-commits] [PATCH] D93025: [libc++] Fix invalid use of `_LIBCPP_STD_VER >= 11`, as `_LIBCPP_STD_VER` can never be less than 11.
Marek Kurdej via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Dec 10 04:47:22 PST 2020
curdeius created this revision.
curdeius added a reviewer: ldionne.
curdeius requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93025
Files:
libcxx/include/atomic
Index: libcxx/include/atomic
===================================================================
--- libcxx/include/atomic
+++ libcxx/include/atomic
@@ -1503,7 +1503,7 @@
using __cxx_contention_t = int64_t;
#endif //__linux__
-#if _LIBCPP_STD_VER >= 11
+#ifndef _LIBCPP_CXX03_LANG
using __cxx_atomic_contention_t = __cxx_atomic_impl<__cxx_contention_t>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93025.310846.patch
Type: text/x-patch
Size: 367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201210/37d539a5/attachment.bin>
More information about the libcxx-commits
mailing list