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

Anders Carlsson andersca at apple.com
Sat Jan 11 15:20:15 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:
> 
> 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.

Sounds good!

- Anders



More information about the webkit-dev mailing list