Mercurial > emacs
diff src/process.c @ 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 | e213d76ca446 |
| children | e5c85a134e67 55e22205ba88 |
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;
