mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are also broken in glibc 2.1
This commit is contained in:
parent
f5af89cdee
commit
221a206115
1 changed files with 4 additions and 2 deletions
|
|
@ -133,13 +133,15 @@ extern const struct in6_addr in6addr_any;
|
|||
#endif
|
||||
|
||||
/*
|
||||
* IN6_ARE_ADDR_EQUAL and IN6_IS_ADDR_UNSPECIFIED are broken in at least
|
||||
* 2.1. The macros incorrectly cast away const.
|
||||
* IN6_ARE_ADDR_EQUAL, IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_V4COMPAT and
|
||||
* IN6_IS_ADDR_V4MAPPED are broken in glibc 2.1.
|
||||
*/
|
||||
#ifdef __GLIBC__
|
||||
#if __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 2)
|
||||
#undef IN6_ARE_ADDR_EQUAL
|
||||
#undef IN6_IS_ADDR_UNSPECIFIED
|
||||
#undef IN6_IS_ADDR_V4COMPAT
|
||||
#undef IN6_IS_ADDR_V4MAPPED
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue