From 7aa2f58ed8aae16f3b3400c41e644b95eea3f222 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 27 Jul 2024 09:39:29 +0800 Subject: [PATCH] buildtools: Fix libc++ build --- 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 81964f62f7..c35bb1812a 100644 --- a/src/buildtools/third_party/libc++/__assertion_handler +++ b/src/buildtools/third_party/libc++/__assertion_handler @@ -29,7 +29,7 @@ _LIBCPP_NORETURN inline _LIBCPP_HIDE_FROM_ABI void __libcpp_hardening_failure() _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