changeset 6987:62cdd56aa99f

* m/delta.h (HAVE_SOCKETS): defined if HAVE_INET_SOCKETS is defined.
author Francesco Potortì <pot@gnu.org>
date Wed, 20 Apr 1994 10:52:23 +0000
parents a39502978078
children 674dceb3bb4f
files src/m/delta.h
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/delta.h	Wed Apr 20 10:25:05 1994 +0000
+++ b/src/m/delta.h	Wed Apr 20 10:52:23 1994 +0000
@@ -139,7 +139,9 @@
 #define HAVE_PTYS
 #define SYSV_PTYS
 #define HAVE_SELECT
-#define HAVE_SOCKETS		/***** only if NSE has been installed *****/
+#ifdef HAVE_INET_SOCKETS	/* this comes from autoconf  */
+# define HAVE_SOCKETS		/* NSE may or may not have been installed */
+#endif
 #define HAVE_TIMEVAL
 #define SIGNALS_VIA_CHARACTERS
 #define BROKEN_CLOSEDIR		/* builtin closedir is interruptible */
@@ -204,8 +206,8 @@
 
 # ifdef __STDC__
  /* Compiling with gnucc (not through ccd).  This means -traditional is
-    not set.  Let us set it, because (as of emacs 19.21) gmalloc.c
-    includes <stddef.h>, and we don't have that (as of SYSV68 R3V7).
+    not set.  Let us set it, because gmalloc.c includes <stddef.h>,
+    and we don't have that (as of SYSV68 R3V7).
     Removing the -finline-functions option to gnucc causes an
     executable emacs smaller by about 10%. */
 #  define C_SWITCH_MACHINE -mfp0ret -m68881 -traditional -Dconst= -fdelayed-branch -fstrength-reduce -finline-functions -fcaller-saves