On Fri, Jun 19, 2009 at 11:07 AM, Nicolas Sylvain <nsylv...@chromium.org>wrote:

> We should say that we prefer  "#if defined(OS_WIN)" over "#ifdef OS_WIN".
>

In general, you should always prefer "#if defined(FOO)" over "#ifdef FOO",
e.g. because you can add "|| defined(BAR)" to the former later.

PK

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to