2001-08-31 Ken Raeburn <raeburn@mit.edu>
+ * fake-addrinfo.c: Test only HAVE_FAKE_GETADDRINFO.
+ * fake-addrinfo.h: Define it, when remapping symbols.
+
* socket-utils.h (struct krb5int_sockaddr_storage,
sockaddr_storage): Conditionalize on HAVE_STRUCT_SOCKADDR_STORAGE
instead of KRB5_USE_INET6.
#include "fake-addrinfo.h"
-#if !defined (HAVE_GETADDRINFO) || defined (BROKEN_GETADDRINFO)
+#ifdef HAVE_FAKE_GETADDRINFO
static int translate_h_errno (int h);
char *gai_strerror (int code);
+#define HAVE_FAKE_GETADDRINFO
#define HAVE_GETADDRINFO
#undef HAVE_GETNAMEINFO
#define HAVE_GETNAMEINFO