mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03: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:
parent
7c93724ee0
commit
9ca41a181d
Notes:
sideshowbarker
2024-07-17 04:05:30 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/9ca41a181d Pull-request: https://github.com/SerenityOS/serenity/pull/16194
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user