]> sourceware.org Git - glibc.git/commit
Fix macro API for __USE_KERNEL_IPV6_DEFS.
authorCarlos O'Donell <carlos@redhat.com>
Fri, 3 Jun 2016 03:30:11 +0000 (23:30 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Fri, 3 Jun 2016 03:52:06 +0000 (23:52 -0400)
commit1c1e7fb65828c99d6e0f0f3857089b559a0c8189
treeec54f58a6ecbbc2380b9f1e7a8d6b1ab21a7c235
parentf06f3f05b48c72e2c9b0fa78671f94fd22d67da8
Fix macro API for __USE_KERNEL_IPV6_DEFS.

The use of __USE_KERNEL_IPV6_DEFS with ifndef is bad
practice per: https://sourceware.org/glibc/wiki/Wundef.
This change moves it to use 'if' and always define the
macro.

Please note that this is not the only problem with this
code. I have a series of fixes after this one to resolve
breakage with this code and add regression tests for it
via compile-only source testing (to be discussed in another
thread).

Unfortunately __USE_KERNEL_XATTR_DEFS is set by the kernel
and not glibc, and uses 'define', so we can't fix that yet.
ChangeLog
inet/netinet/in.h
sysdeps/unix/sysv/linux/bits/in.h
This page took 0.040672 seconds and 5 git commands to generate.