[PATCH] Misc portability improvements

Robert Millan rmh@aybabtu.com
Sat Oct 8 20:56:00 GMT 2005


On Sat, Oct 08, 2005 at 08:34:43AM -0700, Ulrich Drepper wrote:
> Robert Millan wrote:
> > Here's the part for header protection.  Please consider.
> 
> Completely unnecessary.  The included headers have to do this.

Without this, included headers can't check wether the standard header was
included.

For example, I could want <linux/soundcard.h> to check wether <sys/soundcard.h>
is included and issue a warning if it's not (including <linux/soundcard.h> for
standard OSS programs is a gratuitous portability error)

-- 
Robert Millan



More information about the Libc-alpha mailing list