[libcxx-commits] [PATCH] D92349: [libcxxabi] remove checks for __STDCPP_THREADS__ as it is defined by compiler
Zequan Wu via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 30 16:37:15 PST 2020
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG871f96eed379: [libcxx] remove checks for __STDCPP_THREADS__ as it is defined by compiler (authored by zequanwu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92349/new/
https://reviews.llvm.org/D92349
Files:
libcxx/include/__config
Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -1152,10 +1152,6 @@
_LIBCPP_HAS_NO_THREADS is defined.
#endif
-#if defined(__STDCPP_THREADS__) && defined(_LIBCPP_HAS_NO_THREADS)
-#error _LIBCPP_HAS_NO_THREADS cannot be set when __STDCPP_THREADS__ is set.
-#endif
-
#if !defined(_LIBCPP_HAS_NO_THREADS) && !defined(__STDCPP_THREADS__)
#define __STDCPP_THREADS__ 1
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92349.308500.patch
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201201/e69c33d4/attachment.bin>
More information about the libcxx-commits
mailing list