Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cbd68e2d4822ca414692c1c9a41cf9c211b5da11
      
https://github.com/WebKit/WebKit/commit/cbd68e2d4822ca414692c1c9a41cf9c211b5da11
  Author: Pablo Saavedra <[email protected]>
  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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to