⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 286645 in webkit


Ignore:
Timestamp:
Dec 7, 2021, 11:27:20 PM (5 years ago)
Author:
mmaxfield@apple.com
Message:

[MacCatalyst] Fix build after r286603
https://bugs.webkit.org/show_bug.cgi?id=233977

Unreviewed.

Previously, TARGET_OS_IOS and TARGET_OS_MACCATALYST were never on at the same time.
Now, they're on at the same time, and ANGLE doesn't expect that. This patch turns
off TARGET_OS_IOS when TARGET_OS_MACCATALYST is on, just to get ANGLE to build.
The long-term fix is to either update all the sites to use correct macros, or to
use the ANGLE_PLATFORM_* defines instead.

  • src/common/platform.h:
Location:
trunk/Source/ThirdParty/ANGLE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/ANGLE/ChangeLog

    r286638 r286645  
     12021-12-07  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        [MacCatalyst] Fix build after r286603
     4        https://bugs.webkit.org/show_bug.cgi?id=233977
     5
     6        Unreviewed.
     7
     8        Previously, TARGET_OS_IOS and TARGET_OS_MACCATALYST were never on at the same time.
     9        Now, they're on at the same time, and ANGLE doesn't expect that. This patch turns
     10        off TARGET_OS_IOS when TARGET_OS_MACCATALYST is on, just to get ANGLE to build.
     11        The long-term fix is to either update all the sites to use correct macros, or to
     12        use the ANGLE_PLATFORM_* defines instead.
     13
     14        * src/common/platform.h:
     15
    1162021-12-07  Yusuke Suzuki  <ysuzuki@apple.com>
    217
  • trunk/Source/ThirdParty/ANGLE/src/common/platform.h

    r286603 r286645  
    133133#        if TARGET_OS_MACCATALYST
    134134#            define ANGLE_PLATFORM_MACCATALYST 1
     135#            undef TARGET_OS_IOS
    135136#        endif
    136137#    endif
Note: See TracChangeset for help on using the changeset viewer.