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

Darin Adler darin at apple.com
Sat Jan 11 15:19:13 PST 2014


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:

1) Add PLATFORM(COCOA).
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.

— Darin


More information about the webkit-dev mailing list