[haiku-commits] Re: haiku: hrev47535 - in src/system: libroot/os runtime_loader

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 21 Jul 2014 09:10:23 +0200 (CEST)

> On July 21, 2014 at 1:12 AM jessica.l.hamilton@xxxxxxxxx wrote:
> +#ifndef _LOADER_MODE
[...]
> +#else
[...]
> +#endif

If the [...] spans over more than a couple of lines, we usually add a comment to
help parsing this stuff, like:

#ifndef _LOADER_MODE
[...]
#else // _LOADER_MODE
[...]
#endif // _LOADER_MODE

Bye,
   Axel.

Other related posts: