Mercurial > emacs
comparison src/m/pmax.h @ 12419:818d7bcf63b0
[MACH]: Use built-in alloca, set START_FILES.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 29 Jun 1995 01:40:18 +0000 |
parents | 23f72b18b420 |
children | 0cbb394cbd82 |
comparison
equal
deleted
inserted
replaced
12418:75d8f8175fef | 12419:818d7bcf63b0 |
---|---|
16 #undef COFF | 16 #undef COFF |
17 #undef TERMINFO | 17 #undef TERMINFO |
18 #define MAIL_USE_FLOCK | 18 #define MAIL_USE_FLOCK |
19 #define HAVE_UNION_WAIT | 19 #define HAVE_UNION_WAIT |
20 | 20 |
21 | |
22 #ifdef MACH | |
23 #define START_FILES pre-crt0.o /usr/lib/crt0.o | |
24 #else | |
21 /* This line starts being needed with ultrix 4.0. */ | 25 /* This line starts being needed with ultrix 4.0. */ |
22 /* You must delete it for version 3.1. */ | 26 /* You must delete it for version 3.1. */ |
23 #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o | 27 #define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o |
28 #endif | |
24 | 29 |
25 /* Supposedly the following will overcome a kernel bug. */ | 30 /* Supposedly the following will overcome a kernel bug. */ |
26 #undef LD_SWITCH_MACHINE | 31 #undef LD_SWITCH_MACHINE |
27 #undef DATA_START | 32 #undef DATA_START |
28 #define DATA_START 0x10000000 | 33 #define DATA_START 0x10000000 |
35 /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist | 40 /* In Ultrix 4.1, XvmsAlloc.o in libX11.a seems to insist |
36 on defining malloc itself. This should avoid conflicting with it. */ | 41 on defining malloc itself. This should avoid conflicting with it. */ |
37 #define SYSTEM_MALLOC | 42 #define SYSTEM_MALLOC |
38 #endif | 43 #endif |
39 | 44 |
40 /* Override what m-mips.h says about this. */ | 45 /* Override what mips.h says about this. */ |
41 #undef LINKER | 46 #undef LINKER |
42 | 47 |
43 /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK | 48 /* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK |
44 but it doesn't work right; | 49 but it doesn't work right; |
45 and it causes hanging in read_process_output. */ | 50 and it causes hanging in read_process_output. */ |
46 #define BROKEN_O_NONBLOCK | 51 #define BROKEN_O_NONBLOCK |
47 | 52 |
48 #ifdef OSF1 | 53 #if defined (OSF1) || defined (MACH) |
49 #undef C_ALLOCA | 54 #undef C_ALLOCA |
50 #define HAVE_ALLOCA | 55 #define HAVE_ALLOCA |
51 #endif | 56 #endif |
52 | 57 |
53 #ifndef OSF1 | 58 #ifndef OSF1 |
62 | 67 |
63 /* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */ | 68 /* mcc@timessqr.gc.cuny.edu says it is /vmunix on Ultrix 4.2a. */ |
64 #undef KERNEL_FILE | 69 #undef KERNEL_FILE |
65 #define KERNEL_FILE "/vmunix" | 70 #define KERNEL_FILE "/vmunix" |
66 | 71 |
72 #ifndef MACH | |
67 /* Jim Wilson writes: | 73 /* Jim Wilson writes: |
68 [...] The X11 include files that Dec distributes with Ultrix | 74 [...] The X11 include files that Dec distributes with Ultrix |
69 are bogus. | 75 are bogus. |
70 | 76 |
71 When __STDC__ is defined (which is true with gcc), the X11 include files | 77 When __STDC__ is defined (which is true with gcc), the X11 include files |
87 when NeedFunctionPrototypes is 0, but still tries to use them when | 93 when NeedFunctionPrototypes is 0, but still tries to use them when |
88 NeedVarargsProrotypes is 1 (which is its default value). So if we're | 94 NeedVarargsProrotypes is 1 (which is its default value). So if we're |
89 going to disable non-variadic prototypes, we also need to disable | 95 going to disable non-variadic prototypes, we also need to disable |
90 variadic prototypes. --kwzh@gnu.ai.mit.edu */ | 96 variadic prototypes. --kwzh@gnu.ai.mit.edu */ |
91 #define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0 | 97 #define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0 |
98 #endif | |
92 | 99 |
93 /* Enable a fix in process.c. */ | 100 /* Enable a fix in process.c. */ |
94 #define SET_CHILD_PTY_PGRP | 101 #define SET_CHILD_PTY_PGRP |