about summary refs log tree commit diff homepage
path: root/scripts/build/patches/libcxx110.patch
blob: 03e7dbb7de94937913e47bb69af1feaddfccd684 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -1167,10 +1167,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