[Lsb-infrastructure] implementing a large #ifdef'd block

Denis Silakov silakov at ispras.ru
Thu Jun 30 02:09:38 PDT 2011


On 06/29/11 18:39, Wichmann, Mats D wrote:
> So I'm looking for some guidance on both questions...
>
> (a) how to enclose a chunk of a header, but not the whole header,
> in a special #ifdef stanza like above

For constants/macros one can use ConstantAttribute table, it can provide 
records with CAtype='Condition' (several records of this type already 
exist - I guess they are self-explaining).

> (b) use this indirect format where just a prefix is defined 
> arch-dependent,
> or should each affected macro be done arch-dependent?
>

 From db point of view, there is no difference. Personally, I would 
prefer to use prefixes.

-- 
Regards,
Denis.




More information about the lsb-infrastructure mailing list