(Fmake_network_process): Use AF_INET instead of
AF_UNSPEC when AF_INET6 is not defined.
This commit is contained in:
parent
c22cc55864
commit
87b6ca8d4e
1 changed files with 1 additions and 1 deletions
|
@ -2921,7 +2921,7 @@ usage: (make-network-process &rest ARGS) */)
|
|||
tem = Fplist_get (contact, QCfamily);
|
||||
if (NILP (tem))
|
||||
{
|
||||
#ifdef HAVE_GETADDRINFO
|
||||
#if defined(HAVE_GETADDRINFO) && defined(AF_INET6)
|
||||
family = AF_UNSPEC;
|
||||
#else
|
||||
family = AF_INET;
|
||||
|
|
Loading…
Add table
Reference in a new issue