[webkit-changes] [WebKit/WebKit] 2e5b79: [PlayStation][Debug] Build fix after 268047 at main

ykimot noreply at github.com
Tue Sep 19 23:55:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2e5b79e639b03ca92ef19cad6a88015a2f407b1e
      https://github.com/WebKit/WebKit/commit/2e5b79e639b03ca92ef19cad6a88015a2f407b1e
  Author: Yousuke Kimoto <yousuke.kimoto at sony.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M Source/WTF/wtf/posix/ThreadingPOSIX.cpp

  Log Message:
  -----------
  [PlayStation][Debug] Build fix after 268047 at main
https://bugs.webkit.org/show_bug.cgi?id=261725

Reviewed by Chris Dumez.

268047 at main added HAVE_SCHEDULING_POLICIES, which is a condition to manage
a scheduling policy but schedPolicy() is defined with no condition.
It is detected as an unsed warning and causes a build error due to
"-Werror,-Wunused-function" in build configurations where it is debug build
and schedPoilicy() is not used.  To fix the break, schedPolicy() needs to be
defined with HAVE(SCHEDULING_POLICIES) and OS(LINUX),

* Source/WTF/wtf/posix/ThreadingPOSIX.cpp: Added a condtional macro for SCHEDULING_POLICIES and OS(LINUX) to schedPolicy().

Canonical link: https://commits.webkit.org/268183@main




More information about the webkit-changes mailing list