[flashrom] [RFC] #ifdef or #if defined()

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Jun 4 02:18:49 CEST 2010


Right now flashrom uses a mix of #ifdef and #if defined() and due to
that, readability suffers.

Should we use #if defined() everywhere and kill #ifdef? Should we
evaluate the preprocessor defines for their value instead of their
presence to avoid strange problems once someone defines anything to 0?

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the flashrom mailing list