Mercurial > emacs
changeset 68041:b7409cbd6d99
(Fmake_network_process): Use AF_INET instead of
AF_UNSPEC when AF_INET6 is not defined.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 05 Jan 2006 09:24:11 +0000 |
parents | c55514465239 |
children | 9ec3cbeca7b8 |
files | src/process.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Thu Jan 05 09:23:58 2006 +0000 +++ b/src/process.c Thu Jan 05 09:24:11 2006 +0000 @@ -2921,7 +2921,7 @@ 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;