From e49cdfbeea99ba94ed3d8a46b9943b272dbd9c5f Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 4 Feb 2017 23:22:28 +0000 Subject: Recommit [libcxx] Never use within libc++ It is my opinion that libc++ should never use ``, including in the `dylib`. This patch remove all uses of `assert` from within libc++ and replaces most of them with `_LIBCPP_ASSERT` instead. Additionally this patch turn `LIBCXX_ENABLE_ASSERTIONS` off by default, because the standard library should not be aborting user programs unless explicitly asked to. llvm-svn: 294107 --- libcxx/include/__threading_support | 1 - 1 file changed, 1 deletion(-) (limited to 'libcxx/include/__threading_support') diff --git a/libcxx/include/__threading_support b/libcxx/include/__threading_support index d049c9193d9..53a956ed980 100644 --- a/libcxx/include/__threading_support +++ b/libcxx/include/__threading_support @@ -25,7 +25,6 @@ # include # include #elif defined(_LIBCPP_HAS_THREAD_API_WIN32) -#include #include #include #include -- cgit v1.2.3