test262-runner: Use the correct assertion failed signature on FreeBSD
This commit is contained in:
parent
f6a2e84c33
commit
3c8546fbf2
1 changed files with 2 additions and 0 deletions
|
|
@ -546,6 +546,8 @@ static bool g_in_assert = false;
|
|||
|
||||
#ifdef AK_OS_MACOS
|
||||
extern "C" __attribute__((__noreturn__)) void __assert_rtn(char const* function, char const* file, int line, char const* assertion)
|
||||
#elifdef AK_OS_FREEBSD
|
||||
extern "C" __attribute__((__noreturn__)) void __assert(char const* function, char const* file, int line, char const* assertion)
|
||||
#elifdef ASSERT_FAIL_HAS_INT /* Set by CMake */
|
||||
extern "C" __attribute__((__noreturn__)) void __assert_fail(char const* assertion, char const* file, int line, char const* function)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue