changeset 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 75d8f8175fef
children 0c728a1b2bed
files src/m/pmax.h
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/pmax.h	Thu Jun 29 01:39:56 1995 +0000
+++ b/src/m/pmax.h	Thu Jun 29 01:40:18 1995 +0000
@@ -18,9 +18,14 @@
 #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 @@
 #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 @@
    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 @@
 #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 @@
    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