Created attachment 222950 [details]
Replace PLATFORM(MAC) with equivalent alternatives appropriate for the context
So that we can make PLATFORM(MAC) false when building for iOS, we need to replace all uses of it that don’t take iOS into account. Most such uses are about using Foundation, building for Cocoa, or targeting Darwin.
Attachment 222950 [details] did not pass style-queue:
ERROR: Source/WTF/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] 
ERROR: Source/WTF/ChangeLog:7: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] 
Total errors found: 2 in 10 files
If any of these errors are false positives, please file a bug against check-webkit-style.