we could go with like _nix or something, and consider OSX to not be unix (which is kinda isn't). Really, in theory, we should have more granular ifdefs ./configure style, but that is also really a pain in my opinion.
On Wed, Aug 19, 2009 at 1:00 PM, Adam Langley <a...@chromium.org> wrote: > > On Wed, Aug 19, 2009 at 11:43 AM, Ben Laurie<b...@chromium.org> wrote: >> #if defined(OS_LINUX) || defined(OS_FREEBSD) >> and this is ugly. > > It doesn't deeply worry me, except when NetBSD, OpenBSD come along. > Could you use OS_BSD instead? I know that some may assume that OS X > would be included, but I don't have a better name. > > > AGL > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---