Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 9809c1a. rdar://problem/113360320
SHA1.h doesn't parse after recent SDK changes https://bugs.webkit.org/show_bug.cgi?id=259800 rdar://113360320 Reviewed by Megan Gardner and Wenson Hsieh. * Source/WTF/wtf/SHA1.h: Recent SDK changes resulted in CoreUtils headers getting imported into translation units (MediaPlayerPrivateWebM.mm) that also import `SHA1.h`. The aforementioned CoreUtils headers have long had a macro SHA1(), which conflict with our template functions' definitions, and make SHA1.h fail to parse. As a quick workaround, undefine the rogue macros before our SHA1 class. Canonical link: https://commits.webkit.org/266559@main Canonical link: https://commits.webkit.org/265870.291@safari-7616.1.27.12-branch
- Loading branch information