# HG changeset patch # User Richard M. Stallman # Date 804390018 0 # Node ID 818d7bcf63b05e4f9fd7289415db8b7a345a4530 # Parent 75d8f8175fef73f1f41046b4ad45181ac19f0a45 [MACH]: Use built-in alloca, set START_FILES. diff -r 75d8f8175fef -r 818d7bcf63b0 src/m/pmax.h --- 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