mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
libc++: Fix assertion handler
This commit is contained in:
parent
9e6d5498d0
commit
5068ec8931
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user