aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/template.h
diff options
context:
space:
mode:
authorJim Blandy1993-05-20 02:14:56 +0000
committerJim Blandy1993-05-20 02:14:56 +0000
commit161aa2f8d8e00a768d234a84544fd93616c5590b (patch)
treea804c29d8d5dd72863981792c83775b3d2393447 /src/s/template.h
parent12a07afc12fc2bc34a0a4dbb6c72fc9cedcb3c44 (diff)
downloademacs-161aa2f8d8e00a768d234a84544fd93616c5590b.tar.gz
emacs-161aa2f8d8e00a768d234a84544fd93616c5590b.zip
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.
Diffstat (limited to 'src/s/template.h')
-rw-r--r--src/s/template.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/s/template.h b/src/s/template.h
index b7abe09e449..6460deab05b 100644
--- a/src/s/template.h
+++ b/src/s/template.h
@@ -79,16 +79,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
79/* 79/*
80 * Define HAVE_TERMIOS if the system provides POSIX-style 80 * Define HAVE_TERMIOS if the system provides POSIX-style
81 * functions and macros for terminal control. 81 * functions and macros for terminal control.
82 */ 82 *
83
84#define HAVE_TERMIOS
85
86/*
87 * Define HAVE_TERMIO if the system provides sysV-style ioctls 83 * Define HAVE_TERMIO if the system provides sysV-style ioctls
88 * for terminal control. 84 * for terminal control.
85 *
86 * Do not define both. HAVE_TERMIOS is prefered, if it is
87 * supported on your system.
89 */ 88 */
90 89
91#define HAVE_TERMIO 90#define HAVE_TERMIOS
91/* #define HAVE_TERMIO */
92 92
93/* 93/*
94 * Define HAVE_TIMEVAL if the system supports the BSD style clock values. 94 * Define HAVE_TIMEVAL if the system supports the BSD style clock values.