Mercurial > emacs
changeset 43999:177616cff62b
Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H.
Remove explicit GNU_LINUX settings for datagram support.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 18 Mar 2002 14:09:57 +0000 |
parents | 314740f7890e |
children | 5aeafe6043ef |
files | src/process.c |
diffstat | 1 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Mon Mar 18 14:08:37 2002 +0000 +++ b/src/process.c Mon Mar 18 14:09:57 2002 +0000 @@ -59,7 +59,7 @@ #endif /* NEED_NET_ERRNO_H */ /* Are local (unix) sockets supported? */ -#ifndef NO_SOCKETS_IN_FILE_SYSTEM +#if defined (HAVE_SYS_UN_H) && !defined (NO_SOCKETS_IN_FILE_SYSTEM) #if !defined (AF_LOCAL) && defined (AF_UNIX) #define AF_LOCAL AF_UNIX #endif @@ -217,14 +217,6 @@ "non-destructive" select. So we require either native select, or emulation of select using FIONREAD. */ -#ifdef GNU_LINUX -/* These are not yet in configure.in (they will be eventually) - -- so add them here temporarily. ++kfs */ -#define HAVE_RECVFROM -#define HAVE_SENDTO -#define HAVE_GETSOCKNAME -#endif - #ifdef BROKEN_DATAGRAM_SOCKETS #undef DATAGRAM_SOCKETS #else