[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 14:45:07 PST 2020


zequanwu updated this revision to Diff 308484.
zequanwu marked an inline comment as done.
zequanwu added a comment.

address comment.


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.308484.patch
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201130/f11a03e8/attachment-0001.bin>


More information about the libcxx-commits mailing list