From 221a2061153e56f643226ce0c0cee41eff6bf154 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 6 Jul 2001 07:25:51 +0000 Subject: [PATCH] IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are also broken in glibc 2.1 --- lib/bind/port_after.h.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/bind/port_after.h.in b/lib/bind/port_after.h.in index b4acdbca6f..8c7df1b794 100644 --- a/lib/bind/port_after.h.in +++ b/lib/bind/port_after.h.in @@ -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