diff src/s/template.h @ 2917:725698689fbd

Some more changes from Michael K. Johnson for Linux. * s/template.h: Mention that you should #define HAVE_TERMIO or HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred. * systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of tcsetpgrp to *pgid; it's just a status value. * config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux systems using XFree386, and perhaps is inappropriate in general. * m/intel386.h: #undefine the integer size macros, since the Linux <values.h> file #defines them itself. * mem-limits.h (get_lim_data): Linux has the ulimit call; if it fails, fall back on ULIMIT_BREAK_VALUE. * process.c: Linux needs the WAITTYPE, etc. definitions. * unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type; no need to use SYSV names. * s/linux.h: New file.
author Jim Blandy <jimb@redhat.com>
date Thu, 20 May 1993 02:14:56 +0000
parents a0f174dc6ac5
children 7d0d877f8733
line wrap: on
line diff
--- a/src/s/template.h	Thu May 20 02:05:02 1993 +0000
+++ b/src/s/template.h	Thu May 20 02:14:56 1993 +0000
@@ -79,16 +79,16 @@
 /*
  *	Define HAVE_TERMIOS if the system provides POSIX-style
  *	functions and macros for terminal control.
+ *
+ *	Define HAVE_TERMIO if the system provides sysV-style ioctls
+ *	for terminal control.
+ *
+ *	Do not define both.  HAVE_TERMIOS is prefered, if it is
+ *	supported on your system.
  */
 
 #define HAVE_TERMIOS
-
-/*
- *	Define HAVE_TERMIO if the system provides sysV-style ioctls
- *	for terminal control.
- */
-
-#define HAVE_TERMIO
+/* #define HAVE_TERMIO */
 
 /*
  *	Define HAVE_TIMEVAL if the system supports the BSD style clock values.