unifdef INET6 ?

Adam Jackson ajax at nwnk.net
Tue Dec 1 11:18:48 PST 2015


On Tue, 2015-12-01 at 19:07 +0100, Matthieu Herrb wrote:
> Hi,
> 
> Does X.Org support systems that don't support IPv6 and don't always
> define  INET6  ?
> 
> I would like to unifdef the IPv6 code if possible... There are a
> number of places where optional IPv6 code create nice unreadable
> mazes of ifdefs.
> 
> Opinions/objections ?

--disable-ipv6 seems to save you all of 5k of binary size, which really
isn't enough for me to care.  I'd be fine with making that code
unconditional if we also silenced the warning chirp from xtrans when
running on a v6-less kernel.

- ajax


More information about the xorg-devel mailing list