From d861a48821f64a7827a80e6d672444426b646fcb Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 27 Jul 2024 09:39:29 +0800 Subject: [PATCH] libc++: Fix assertion handler --- src/buildtools/third_party/libc++/__assertion_handler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildtools/third_party/libc++/__assertion_handler b/src/buildtools/third_party/libc++/__assertion_handler index 275d562532..b01d16d00b 100644 --- a/src/buildtools/third_party/libc++/__assertion_handler +++ b/src/buildtools/third_party/libc++/__assertion_handler @@ -29,7 +29,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD // TODO(hardening): use `__builtin_verbose_trap(message)` once that becomes available. -# define _LIBCPP_ASSERTION_HANDLER(message) ((void)message, __libcpp_hardening_failure()) +# define _LIBCPP_ASSERTION_HANDLER(message) ((void)message, std::__libcpp_hardening_failure()) #else