[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/async-dns e99dc4a: Compilation for for non-GNU sys
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] feature/async-dns e99dc4a: Compilation for for non-GNU systems |
Date: |
Sat, 30 Jan 2016 02:58:02 +0000 |
branch: feature/async-dns
commit e99dc4a7490a471cbdf421c8b712d8c09479e592
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Compilation for for non-GNU systems
* process.c (Fmake_network_process): Make compilation work
again on hosts that don't have getaddrinfo_a.
---
src/process.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/process.c b/src/process.c
index 168d925..aef74d3 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3785,7 +3785,9 @@ usage: (make-network-process &rest ARGS) */)
p->port = port;
p->socktype = socktype;
p->ai_protocol = ai_protocol;
+#ifdef HAVE_GETADDRINFO_A
p->dns_requests = NULL;
+#endif
unbind_to (count, Qnil);
@@ -3811,6 +3813,7 @@ usage: (make-network-process &rest ARGS) */)
#endif
}
+#ifdef HAVE_GETADDRINFO_A
/* If we're doing async address resolution, the list of addresses
here will be nil, so we postpone connecting to the server. */
if (!p->is_server && NILP (ip_addresses))
@@ -3830,6 +3833,9 @@ usage: (make-network-process &rest ARGS) */)
{
connect_network_socket (proc, ip_addresses);
}
+#endif /* HAVE_GETADDRINFO_A */
+
+ connect_network_socket (proc, ip_addresses);
return proc;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] feature/async-dns e99dc4a: Compilation for for non-GNU systems,
Lars Ingebrigtsen <=