RESOLVED CONFIGURATION CHANGED234540
Upstream some HAVE/ENABLE/USE macros
https://bugs.webkit.org/show_bug.cgi?id=234540
Summary Upstream some HAVE/ENABLE/USE macros
Tim Horton
Reported 2021-12-20 18:09:42 PST
Upstream some HAVE/ENABLE/USE macros
Attachments
Patch (7.01 KB, patch)
2021-12-20 18:16 PST, Tim Horton
ap: review-
ews-feeder: commit-queue-
Tim Horton
Comment 1 2021-12-20 18:16:56 PST
Alexey Proskuryakov
Comment 2 2021-12-21 15:57:12 PST
Comment on attachment 447674 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447674&action=review Seems like too many red EWSes to r_ as is. > Source/WTF/wtf/PlatformEnableCocoa.h:554 > + && ((PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 150000) \ __IPHONE_OS_VERSION_MIN_REQUIRED is always >= 150000 This is repeated many times in the patch, I'll only comment once. > Source/WTF/wtf/PlatformEnableCocoa.h:589 > + && (((PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 150000) \ Does PLATFORM(MACCATALYST) get a __IPHONE_OS_VERSION_MIN_REQUIRED? One way or another, version check is not needed any more. > Source/WTF/wtf/PlatformEnableCocoa.h:590 > + || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED >= 80000) \ Well, and same for watchOS/tvOS. > Source/WTF/wtf/PlatformHave.h:1119 > +#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) And for __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500
Tim Horton
Comment 3 2021-12-21 15:59:26 PST
(In reply to Alexey Proskuryakov from comment #2) > Comment on attachment 447674 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=447674&action=review > > Seems like too many red EWSes to r_ as is. Agreed, will need some SPI header changes! > > Source/WTF/wtf/PlatformEnableCocoa.h:554 > > + && ((PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 150000) \ > > __IPHONE_OS_VERSION_MIN_REQUIRED is always >= 150000 > > This is repeated many times in the patch, I'll only comment once. Good point! I wasn't resolving anything down, just upstreaming, but this is probably the best time to do it... > > Source/WTF/wtf/PlatformEnableCocoa.h:589 > > + && (((PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 150000) \ > > Does PLATFORM(MACCATALYST) get a __IPHONE_OS_VERSION_MIN_REQUIRED? One way > or another, version check is not needed any more. It does (thankfully), but good point. > > Source/WTF/wtf/PlatformHave.h:1119 > > +#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) > > And for __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500 Nice!
Radar WebKit Bug Importer
Comment 4 2021-12-27 18:10:18 PST
Anne van Kesteren
Comment 5 2024-03-15 04:10:33 PDT
Looks like this got resolved elsewhere.
Note You need to log in before you can comment on or make changes to this bug.