[webkit-dev] Proposal for a new way to handle porting #ifdefs
Darin Adler
darin at apple.com
Tue May 5 07:49:44 PDT 2009
On May 4, 2009, at 7:45 PM, George Staikos wrote:
> 1) In some cases some things apply to more than one OS so we have:
> #if OS(x) || OS(y) || OS(z) ...
> I think we should use:
> #if OS(x,y,z)
How? Macros don’t have overloading with the same macro but different
numbers of parameters.
> 3) I'm not sure that USE() really applies equally as you described.
> In some cases it applies to basically the whole system API used
> (QT), but in others it's just a support library (QUICKTIME).
But why is this distinction important? Does it need to “apply equally”?
-- Darin
More information about the webkit-dev
mailing list