I have a selection of #defines in a header, which is user editable and so I want to see it later In case that is present in defining, a user removes them altogether, for example
#if defined MANUF & amp; Defined serial & amp; Amp; Defined Models / All Defined is OK So nothing. / Pre> It works perfectly well, but I am thinking that if more than one is defined or not, then there is a better way ... ie something like this:
< Code> #ifn defined MANUF || Defined SERIAL || .... // #ifn in n note or maybe
#if! Defined MANUF || ! To remove the requirement of empty #if clause,
#if! Defined (MANUF) || ! Defined (serial) || || ! Defined (model)
No comments:
Post a Comment