[webkit-changes] [WebKit/WebKit] cbd68e: [JSC] Fix build failure on musl: Add fallback for ...
Pablo Saavedra Rodiño
noreply at github.com
Fri Oct 11 22:05:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cbd68e2d4822ca414692c1c9a41cf9c211b5da11
https://github.com/WebKit/WebKit/commit/cbd68e2d4822ca414692c1c9a41cf9c211b5da11
Author: Pablo Saavedra <psaavedra at igalia.com>
Date: 2024-10-11 (Fri, 11 Oct 2024)
Changed paths:
M Source/JavaScriptCore/runtime/MathCommon.cpp
Log Message:
-----------
[JSC] Fix build failure on musl: Add fallback for roundeven and roundevenf
https://bugs.webkit.org/show_bug.cgi?id=281216
Reviewed by Yusuke Suzuki.
While building WPEWebKit on musl-based systems, errors occur due to
the absence of roundevenf and roundeven functions. These are not
available in musl and other non-glibc platforms.
This patch provides fallback implementations for both functions.
* Source/JavaScriptCore/runtime/MathCommon.cpp:
(JSC::Math::roundevenf):
(JSC::Math::roundeven):
Canonical link: https://commits.webkit.org/285058@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list