summaryrefslogtreecommitdiff
path: root/src/m/pmax.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-06-29 01:40:18 +0000
committerRichard M. Stallman <rms@gnu.org>1995-06-29 01:40:18 +0000
commita46849a84344ea9811b3ff3bff72d68f83c1f417 (patch)
tree6a2a81701661391e94e675cfec54d6f2ee5ea877 /src/m/pmax.h
parentcaaf3c4ed0c2c64517cb5b0175326755a9904961 (diff)
downloademacs-a46849a84344ea9811b3ff3bff72d68f83c1f417.tar.gz
[MACH]: Use built-in alloca, set START_FILES.
Diffstat (limited to 'src/m/pmax.h')
-rw-r--r--src/m/pmax.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/m/pmax.h b/src/m/pmax.h
index 3e9c93ca025..678f6a420de 100644
--- a/src/m/pmax.h
+++ b/src/m/pmax.h
@@ -18,9 +18,14 @@ NOTE-END */
#define MAIL_USE_FLOCK
#define HAVE_UNION_WAIT
+
+#ifdef MACH
+#define START_FILES pre-crt0.o /usr/lib/crt0.o
+#else
/* This line starts being needed with ultrix 4.0. */
/* You must delete it for version 3.1. */
#define START_FILES pre-crt0.o /usr/lib/cmplrs/cc/crt0.o
+#endif
/* Supposedly the following will overcome a kernel bug. */
#undef LD_SWITCH_MACHINE
@@ -37,7 +42,7 @@ NOTE-END */
#define SYSTEM_MALLOC
#endif
-/* Override what m-mips.h says about this. */
+/* Override what mips.h says about this. */
#undef LINKER
/* Ultrix 4.2 (perhaps also 4.1) implements O_NONBLOCK
@@ -45,7 +50,7 @@ NOTE-END */
and it causes hanging in read_process_output. */
#define BROKEN_O_NONBLOCK
-#ifdef OSF1
+#if defined (OSF1) || defined (MACH)
#undef C_ALLOCA
#define HAVE_ALLOCA
#endif
@@ -64,6 +69,7 @@ NOTE-END */
#undef KERNEL_FILE
#define KERNEL_FILE "/vmunix"
+#ifndef MACH
/* Jim Wilson writes:
[...] The X11 include files that Dec distributes with Ultrix
are bogus.
@@ -89,6 +95,7 @@ NOTE-END */
going to disable non-variadic prototypes, we also need to disable
variadic prototypes. --kwzh@gnu.ai.mit.edu */
#define C_SWITCH_X_MACHINE -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0
+#endif
/* Enable a fix in process.c. */
#define SET_CHILD_PTY_PGRP