[webkit-dev] Rename PLATFORM(MAC) to PLATFORM(COCOA)?

Dan Bernstein mitz at apple.com
Sat Jan 11 15:23:58 PST 2014

On Jan 11, 2014, at 3:19 PM, Darin Adler <darin at apple.com> wrote:

> On Jan 11, 2014, at 3:12 PM, Anders Carlsson <andersca at apple.com> wrote:
>> One downside is that we won’t be able to make PLATFORM(MAC) mean “the Mac port” before all the uses have been audited and converted to PLATFORM(COCOA). I don’t know a good solution to that problem.
> My proposal is:
> 2) Change PLATFORM(MAC) to PLATFORM(COCOA) quickly and mechanically before making other changes.
> 3) Add a PLATFORM(MAC) that is false for iOS.
> Then we can change various PLATFORM(COCOA) back to PLATFORM(MAC) if they really meant PLATFORM(MAC), but that can be done gradually over time.

How about this plan instead?

2) Change all instances of PLATFORM(MAC) that are not in !PLATFORM(IOS) sections or combined with !PLATFORM(IOS) into PLATFORM(COCOA)
3) Make PLATFORM(MAC) be false in iOS.

More information about the webkit-dev mailing list