comparison src/unexec.c @ 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 0920d8d995d0
children 507f64624555
comparison
equal deleted inserted replaced
2916:375bf7b38e48 2917:725698689fbd
233 #define N_SYMOFF(x) LESYM_OFFSET(x) 233 #define N_SYMOFF(x) LESYM_OFFSET(x)
234 static EXEC_HDR_TYPE hdr, ohdr; 234 static EXEC_HDR_TYPE hdr, ohdr;
235 235
236 #else /* not HPUX */ 236 #else /* not HPUX */
237 237
238 #if defined (USG) && !defined (IBMAIX) && !defined (IRIS) && !defined (COFF_ENCAPSULATE) 238 #if defined (USG) && !defined (IBMAIX) && !defined (IRIS) && !defined (COFF_ENCAPSULATE) && !defined (LINUX)
239 static struct bhdr hdr, ohdr; 239 static struct bhdr hdr, ohdr;
240 #define a_magic fmagic 240 #define a_magic fmagic
241 #define a_text tsize 241 #define a_text tsize
242 #define a_data dsize 242 #define a_data dsize
243 #define a_bss bsize 243 #define a_bss bsize