diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2022-11-26 02:32:21 +0330 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2022-11-26 02:34:29 +0330 |
commit | 9ca41a181d9d35bfe77311b3d7f7bfa9c36ccd1c (patch) | |
tree | 854de1f5e62b3e474007e84df711f1fb80323b81 /Tests | |
parent | 7c93724ee028723fd9243ae28bc78764a78ee275 (diff) | |
download | serenity-9ca41a181d9d35bfe77311b3d7f7bfa9c36ccd1c.zip |
Tests: Replace {'if' => 'ifdef'} AK_OS_EMSCRIPTEN
Our main build doesn't have -Werror-undef, so this went unnoticed.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/LibJS/test262-runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibJS/test262-runner.cpp b/Tests/LibJS/test262-runner.cpp index 302fbc6155..4f96cdad48 100644 --- a/Tests/LibJS/test262-runner.cpp +++ b/Tests/LibJS/test262-runner.cpp @@ -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) |