small cleanup
Roman Zippel
zippel at linux-m68k.org
Thu Nov 1 10:23:06 EST 2001
Hi,
Tom Rini wrote:
> I will when I get a moment.. :) But #ifndef __FOO__ #define __FOO__
> #ifdef __BAR__ ... #endif /* __BAR__ */ #endif /* __FOO__ */ works
> better than checking for __BAR__ first?
IMO yes: "If a subsequent `#include' specifies the same file, and the
macro in the `#ifndef' is already defined, then the file is entirely
skipped, without even reading it."
bye, Roman
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list