From b319923f595c847124047b08fb259f94c374aff3 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 11 Jul 2004 06:55:16 +0000 Subject: [PATCH] * fake-addrinfo.h (in6addr_any): If we need to define a static copy, rename it with a macro first. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16579 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 3 +++ src/include/fake-addrinfo.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index acd7a352c..7bde94f66 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -4,6 +4,9 @@ krb5_cv_inet6 when deciding whether to test for in6addr_any. If gcc is in use, suppress pedantic warnings about "inline". + * fake-addrinfo.h (in6addr_any): If we need to define a static + copy, rename it with a macro first. + 2004-07-09 Ken Raeburn * k5-thread.h: Test HAVE_PTHREAD instead of HAVE_PTHREAD_H. diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h index 980e08b0c..e37dc6790 100644 --- a/src/include/fake-addrinfo.h +++ b/src/include/fake-addrinfo.h @@ -1325,6 +1325,8 @@ void freeaddrinfo (struct addrinfo *ai) #if defined(KRB5_USE_INET6) && defined(NEED_INSIXADDR_ANY) /* If compiling with IPv6 support and C library does not define in6addr_any */ +#undef in6addr_any +#define in6addr_any krb5int_in6addr_any static const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT; #endif -- 2.26.2