diff options
author | Zequan Wu <zequanwu@google.com> | 2020-11-30 14:09:00 -0800 |
---|---|---|
committer | Zequan Wu <zequanwu@google.com> | 2020-11-30 16:36:47 -0800 |
commit | 871f96eed3797061c8b1c82fb77d077d110a2da7 (patch) | |
tree | 39063997bbe088cc4d0999dffb52d52caa578ade /libcxx | |
parent | 43b5b485a203f190ee4d5d3cab19c44ca865d316 (diff) | |
download | llvm-project-871f96eed3797061c8b1c82fb77d077d110a2da7.tar.gz |
[libcxx] remove checks for __STDCPP_THREADS__ as it is defined by compiler
Differential Revision: https://reviews.llvm.org/D92349
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/include/__config | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index de40ffc3162e..0b850f192d54 100644 --- 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 |