From a46849a84344ea9811b3ff3bff72d68f83c1f417 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 29 Jun 1995 01:40:18 +0000 Subject: [PATCH] [MACH]: Use built-in alloca, set START_FILES. --- src/m/pmax.h | 11 +++++++++-- 1 file 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 -- 2.39.2