mac: Work around Xcode 12b3 SDK bug
The macOS 11.0 20A5323l SDK in Xcode 12b3 12A8169g totally hides the kCGColorSpaceITUR_2020_PQ_EOTF declaration in an #if whenever the SDK version is ≥ 10.16, which of course it always is. Chrome does use that constant, so work around the SDK bug by providing our a local declaration when that SDK version is in use. Bug: 1108561 Change-Id: I6ed31d30705bc754616e413c38fb250a7934484d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315078Reviewed-by:Avi Drissman <avi@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org> Auto-Submit: Mark Mentovai <mark@chromium.org> Cr-Commit-Position: refs/heads/master@{#791119}
Showing
Please register or sign in to comment