HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c22cc55
)
(Fmake_network_process): Use AF_INET instead of
author
Kim F. Storm
<storm@cua.dk>
Thu, 5 Jan 2006 09:24:11 +0000
(09:24 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Thu, 5 Jan 2006 09:24:11 +0000
(09:24 +0000)
AF_UNSPEC when AF_INET6 is not defined.
src/process.c
patch
|
blob
|
blame
|
history
diff --git
a/src/process.c
b/src/process.c
index
3dfbf96
..
526e351
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-2921,7
+2921,7
@@
usage: (make-network-process &rest ARGS) */)
tem = Fplist_get (contact, QCfamily);
if (NILP (tem))
{
-#if
def HAVE_GETADDRINFO
+#if
defined(HAVE_GETADDRINFO) && defined(AF_INET6)
family = AF_UNSPEC;
#else
family = AF_INET;