buildtools: Fix libc++ build

This commit is contained in:
klzgrad 2024-07-27 09:39:29 +08:00
parent c8c06bd115
commit 7aa2f58ed8

View File

@ -29,7 +29,7 @@ _LIBCPP_NORETURN inline _LIBCPP_HIDE_FROM_ABI void __libcpp_hardening_failure()
_LIBCPP_END_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD
// TODO(hardening): use `__builtin_verbose_trap(message)` once that becomes available. // 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 #else