projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b5b48
)
[libcxx] remove checks for __STDCPP_THREADS__ as it is defined by compiler
author
Zequan Wu
<zequanwu@google.com>
Mon, 30 Nov 2020 22:09:00 +0000
(14:09 -0800)
committer
Zequan Wu
<zequanwu@google.com>
Tue, 1 Dec 2020 00:36:47 +0000
(16:36 -0800)
Differential Revision: https://reviews.llvm.org/D92349
libcxx/include/__config
patch
|
blob
|
history
diff --git
a/libcxx/include/__config
b/libcxx/include/__config
index
de40ffc
..
0b850f1
100644
(file)
--- a/
libcxx/include/__config
+++ b/
libcxx/include/__config
@@
-1152,10
+1152,6
@@
_LIBCPP_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container(
_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