> > So I think machine/param.h should be included from
> > sys/socket.h for more portability.
> 
> <machine/param.h> can't be included in any standard header
> (except in <sys/param.h>) because it gives massive, undocumented
> namespace pollution.  The macro `MACHINE' is especially likely
> to conflict with an application macro.

Thanks again for your advice(and sorry for my ignorance).

> Instead, CMSG* should use _ALIGN() and _ALIGN() should be implemented
> somewhere that doesn't add any namespace pollution.  We currently
> use <machine/ansi.h> for things like this, but it is already too
> overloaded.
> 
> Bruce

OK, then how about creating machine/align.h?

Yoshinobu Inoue


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to