[webkit-dev] Best practices for PLATFORM(X) vs. HAVE(X) vs. USE(X) vs. ENABLE(X)? (was: Best practices for USE(X) vs. ENABLE(X)?)
Darin Adler
darin at apple.com
Wed Nov 12 13:57:44 PST 2008
On Nov 12, 2008, at 1:44 PM, Adam Roben wrote:
> I guess while we're at it we might as well clear up the meaning of
> PLATFORM(X) and HAVE(X), as well.
I believe PLATFORM is for large scale questions like "What kind of
compiler is this?"
And HAVE is for smaller scale questions like "Does this particular
header/feature exist?"
There should be a relatively small number of PLATFORM settings with
broad meaning and a larger number of smaller HAVE settings, reflecting
more specific details of the platforms.
-- Darin
More information about the webkit-dev
mailing list