(Fmake_network_process): Use AF_INET instead of

AF_UNSPEC when AF_INET6	is not defined.
This commit is contained in:
Kim F. Storm 2006-01-05 09:24:11 +00:00
parent c22cc55864
commit 87b6ca8d4e

View file

@ -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;