Skip to content

Commit

Permalink
Fix internal build after rdar://130945803
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=276336

Unreviewed.

Someone put a #warning in an SPI header.  This allows us to keep using -Werror.

* Source/WebCore/PAL/pal/spi/cocoa/AccessibilitySupportSPI.h:
* Source/WebKit/Platform/spi/Cocoa/AccessibilitySupportSPI.h:

Canonical link: https://commits.webkit.org/280752@main
  • Loading branch information
achristensen07 committed Jul 8, 2024
1 parent db4bb37 commit aef586e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/WebCore/PAL/pal/spi/cocoa/AccessibilitySupportSPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@

#if USE(APPLE_INTERNAL_SDK)

// FIXME: Remove once rdar://131328679 is fixed and distributed.
IGNORE_WARNINGS_BEGIN("#warnings")
#include <AccessibilitySupport.h>
IGNORE_WARNINGS_END

#else

Expand Down
5 changes: 5 additions & 0 deletions Source/WebKit/Platform/spi/Cocoa/AccessibilitySupportSPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@
#pragma once

#if USE(APPLE_INTERNAL_SDK)

// FIXME: Remove once rdar://131328679 is fixed and distributed.
IGNORE_WARNINGS_BEGIN("#warnings")
#include <AccessibilitySupport.h>
IGNORE_WARNINGS_END

#endif

#if !USE(APPLE_INTERNAL_SDK)
Expand Down

0 comments on commit aef586e

Please sign in to comment.