From: Paul Reilly Date: Sat, 30 Apr 1994 23:28:10 +0000 (+0000) Subject: (IN_ADDR, NUMERIC_ADDR_ERROR): Made conditional on HAVE_BROKEN_INET_ADDR. X-Git-Tag: emacs-19.34~8615 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf32fea0cd428d6e06370c313c3fc74304e40132;p=emacs.git (IN_ADDR, NUMERIC_ADDR_ERROR): Made conditional on HAVE_BROKEN_INET_ADDR. --- diff --git a/src/process.c b/src/process.c index dfe8d2f0bcb..26c59b8ff86 100644 --- a/src/process.c +++ b/src/process.c @@ -54,8 +54,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #endif -/* DGUX inet_addr returns a 'struct in_addr'. */ -#ifdef DGUX +/* On some systems, e.g. DGUX, inet_addr returns a 'struct in_addr'. */ +#ifdef HAVE_BROKEN_INET_ADDR #define IN_ADDR struct in_addr #define NUMERIC_ADDR_ERROR (numeric_addr.s_addr == -1) #else