busybox/networking
Rob Landley 193c8c7383 #ifdef reduction infrastructure, based on an argument between Shaun Jackman,
Rob Landley, and others.

Currently CONFIG options are defined or undefined, so we chop out code with
#ifdefs, ala:
#ifdef CONFIG_THING
  stuff();
#endif

This creates a new header file, bb_config.h, which sets the CONFIG entry to 1
or 0, and lets us do:

  if(CONFIG_THING) stuff();

And let the compiler do dead code elimination to get rid of it.  (Note: #ifdef
will still work because for the 1 case it's a static const int, not a #define.)
2005-07-27 06:55:36 +00:00
..
2005-07-19 21:26:57 +00:00
2005-07-20 18:42:52 +00:00
2005-07-19 21:19:20 +00:00
2004-08-28 00:43:07 +00:00
2004-10-08 07:46:08 +00:00
2005-07-20 19:40:30 +00:00
2004-10-13 07:25:01 +00:00
2005-07-20 19:55:19 +00:00
2005-07-20 19:49:15 +00:00