[webkit-changes] [WebKit/WebKit] d34db4: Work around error in <Block_private.h> with open s...

Commit Queue noreply at github.com
Mon Jan 8 16:26:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d34db4fc6f99c2c5d5234bcdc45b3c120f91e808
      https://github.com/WebKit/WebKit/commit/d34db4fc6f99c2c5d5234bcdc45b3c120f91e808
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2024-01-08 (Mon, 08 Jan 2024)

  Changed paths:
    M Source/WTF/wtf/Compiler.h
    M Source/WebKit/Platform/spi/Cocoa/BlockSPI.h

  Log Message:
  -----------
  Work around error in <Block_private.h> with open source clang
https://bugs.webkit.org/show_bug.cgi?id=267197
<rdar://120600666>

Reviewed by Alexey Proskuryakov and Darin Adler.

* Source/WTF/wtf/Compiler.h:
- Define COMPILER(APPLE_CLANG) when building with Apple's clang.
* Source/WebKit/Platform/spi/Cocoa/BlockSPI.h:
- Do not include <Block_private.h> when compiling with open source
  clang to work around the error.

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




More information about the webkit-changes mailing list