On January 7, 2015 3:04:42 PM CST, Chris Johns <chr...@rtems.org> wrote: >On 5/01/2015 6:45 am, Joel Sherril wrote: > >Why code like .... > >> +#if (BSP_IS_EDISON == 0) > >and ... > >> +#if (BSP_IS_EDISON == 1) > >this rather than .... > >#if !BSP_IS_EDISON > >and > >#if BSP_IS_EDISON > >The advantages are unclear to me.
Just personal preference. I just like explicit checks. >Chris >_______________________________________________ >devel mailing list >devel@rtems.org >http://lists.rtems.org/mailman/listinfo/devel --joel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel