The usage of Get_Error is guarded by "ifdef h_errno" in this file, the
definition of this function should follow the same rules.
Fixes a build error when cross-compiling:
https://github.com/ngircd/ngircd/issues/223
return false;
} /* Resolve_Name */
return false;
} /* Resolve_Name */
-
-#if !defined(HAVE_GETADDRINFO) || !defined(HAVE_GETNAMEINFO)
-#if !defined(WANT_IPV6) && defined(h_errno)
static char *
Get_Error( int H_Error )
{
static char *
Get_Error( int H_Error )
{
return "unknown error";
}
#endif
return "unknown error";
}
#endif
/* Do "IDENT" (aka "AUTH") lookup and append result to resolved_addr array */
/* Do "IDENT" (aka "AUTH") lookup and append result to resolved_addr array */