mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
fix verbose_abort (again)
This commit is contained in:
@@ -238,7 +238,13 @@ extern "C" __attribute__((used)) char __libc_single_threaded = 0;
|
||||
#include <cstdio>
|
||||
#include "headers.h"
|
||||
|
||||
void std::__libcpp_verbose_abort(char const* format, ...) _LIBCPP_VERBOSE_ABORT_NOEXCEPT
|
||||
#ifdef _LIBCPP_VERBOSE_ABORT_NOEXCEPT
|
||||
#define VERBOSE_ABORT_NOEXCEPT _LIBCPP_VERBOSE_ABORT_NOEXCEPT
|
||||
#else
|
||||
#define VERBOSE_ABORT_NOEXCEPT
|
||||
#endif
|
||||
|
||||
void std::__libcpp_verbose_abort(char const* format, ...) VERBOSE_ABORT_NOEXCEPT
|
||||
{
|
||||
va_list list;
|
||||
va_start(list, format);
|
||||
@@ -249,6 +255,8 @@ void std::__libcpp_verbose_abort(char const* format, ...) _LIBCPP_VERBOSE_ABORT_
|
||||
Bun__panic(buffer, len);
|
||||
}
|
||||
|
||||
#undef VERBOSE_ABORT_NOEXCEPT
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef U_SHOW_CPLUSPLUS_API
|
||||
|
||||
Reference in New Issue
Block a user