aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-20 06:30:20 +0000
committerJim Blandy1993-05-20 06:30:20 +0000
commitb2aaf43a08b89701e3d425c103417293d2647c84 (patch)
tree4bc024726a6a9926302817165ef7a812b34f358b /src
parente3120ab52744b2536f1fe13514587f3dd188842c (diff)
downloademacs-b2aaf43a08b89701e3d425c103417293d2647c84.tar.gz
emacs-b2aaf43a08b89701e3d425c103417293d2647c84.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')
-rw-r--r--src/m/intel386.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/m/intel386.h b/src/m/intel386.h
index f359af57311..aa1bf295046 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -26,12 +26,14 @@ NOTE-START
26Intel 386 (-machine=intel386 or -machine=is386.h) 26Intel 386 (-machine=intel386 or -machine=is386.h)
27 27
28 The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3, 28 The possibilities for -opsystem are: bsd4-2, usg5-2-2, usg5-3,
29 isc2-2, 386-ix, esix, sco3.2v4, and xenix. 29 isc2-2, 386-ix, esix, linux, sco3.2v4, and xenix.
30 30
31 18.58 should support a wide variety of operating systems. 31 18.58 should support a wide variety of operating systems.
32 Use isc2-2 for Interactive 386/ix version 2.2. 32 Use isc2-2 for Interactive 386/ix version 2.2.
33 Use 386ix for prior versions. 33 Use 386ix for prior versions.
34 Use esix for Esix. It isn't clear what to do on an SCO system. 34 Use esix for Esix.
35 Use linux for Linux.
36 It isn't clear what to do on an SCO system.
35 37
36 -machine=is386 is used for an Integrated Solutions 386 machine. 38 -machine=is386 is used for an Integrated Solutions 386 machine.
37 It may also be correct for Microport systems. 39 It may also be correct for Microport systems.
@@ -49,6 +51,12 @@ NOTE-END */
49/* The following three symbols give information on 51/* The following three symbols give information on
50 the size of various data types. */ 52 the size of various data types. */
51 53
54
55/* Linux defines these in <values.h>, but they can't be used in #if's */
56#undef SHORTBITS
57#undef INTBITS
58#undef LONGBITS
59
52#define SHORTBITS 16 /* Number of bits in a short */ 60#define SHORTBITS 16 /* Number of bits in a short */
53 61
54#define INTBITS 32 /* Number of bits in an int */ 62#define INTBITS 32 /* Number of bits in an int */