mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Tests: Replace {'if' => 'ifdef'} AK_OS_EMSCRIPTEN
Our main build doesn't have -Werror-undef, so this went unnoticed.
This commit is contained in:
committed by
Ali Mohammad Pur
parent
7c93724ee0
commit
9ca41a181d
@@ -560,7 +560,7 @@ void __assertion_failed(char const* assertion)
|
||||
handle_failed_assert(assertion);
|
||||
}
|
||||
#else
|
||||
# if AK_OS_EMSCRIPTEN
|
||||
# ifdef AK_OS_EMSCRIPTEN
|
||||
extern "C" __attribute__((__noreturn__)) void __assert_fail(char const* assertion, char const* file, int line, char const* function)
|
||||
# else
|
||||
extern "C" __attribute__((__noreturn__)) void __assert_fail(char const* assertion, char const* file, unsigned int line, char const* function)
|
||||
|
||||
Reference in New Issue
Block a user