aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorKim F. Storm2002-03-18 14:09:57 +0000
committerKim F. Storm2002-03-18 14:09:57 +0000
commit28c6e94f3a789f57624fa08665c7a4f9d3706ed4 (patch)
tree248b4c8a88b41f52ba8be6f1e787e5cb96ec339a /src/process.c
parent955c874d182f8983c251db6177122853d4f6189a (diff)
downloademacs-28c6e94f3a789f57624fa08665c7a4f9d3706ed4.tar.gz
emacs-28c6e94f3a789f57624fa08665c7a4f9d3706ed4.zip
Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.
Remove explicit GNU_LINUX settings for datagram support.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/process.c b/src/process.c
index 033511d99ae..8c4de90638c 100644
--- a/src/process.c
+++ b/src/process.c
@@ -59,7 +59,7 @@ Boston, MA 02111-1307, USA. */
59#endif /* NEED_NET_ERRNO_H */ 59#endif /* NEED_NET_ERRNO_H */
60 60
61/* Are local (unix) sockets supported? */ 61/* Are local (unix) sockets supported? */
62#ifndef NO_SOCKETS_IN_FILE_SYSTEM 62#if defined (HAVE_SYS_UN_H) && !defined (NO_SOCKETS_IN_FILE_SYSTEM)
63#if !defined (AF_LOCAL) && defined (AF_UNIX) 63#if !defined (AF_LOCAL) && defined (AF_UNIX)
64#define AF_LOCAL AF_UNIX 64#define AF_LOCAL AF_UNIX
65#endif 65#endif
@@ -217,14 +217,6 @@ int update_tick;
217 "non-destructive" select. So we require either native select, 217 "non-destructive" select. So we require either native select,
218 or emulation of select using FIONREAD. */ 218 or emulation of select using FIONREAD. */
219 219
220#ifdef GNU_LINUX
221/* These are not yet in configure.in (they will be eventually)
222 -- so add them here temporarily. ++kfs */
223#define HAVE_RECVFROM
224#define HAVE_SENDTO
225#define HAVE_GETSOCKNAME
226#endif
227
228#ifdef BROKEN_DATAGRAM_SOCKETS 220#ifdef BROKEN_DATAGRAM_SOCKETS
229#undef DATAGRAM_SOCKETS 221#undef DATAGRAM_SOCKETS
230#else 222#else