From: Richard M. Stallman Date: Thu, 12 Aug 1993 21:55:46 +0000 (+0000) Subject: Include alloca.h if appropriate. X-Git-Tag: emacs-19.34~11263 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b7a11e21015676b8eacf6a531c2e76d274c293ea;p=emacs.git Include alloca.h if appropriate. Fix the #include file name. (ULIMIT_BREAK_VALUE, GETPGRP_NO_ARG, NO_MATHERR): New macros. (LIB_STANDARD): #undef it. --- diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h index 61928f08dfe..ef00caa1b13 100644 --- a/src/s/irix5-0.h +++ b/src/s/irix5-0.h @@ -1,8 +1,13 @@ -#include "s-usg5-4.h" +#include "usg5-4.h" + #ifdef LIBS_SYSTEM #undef LIBS_SYSTEM #endif +#ifdef LIB_STANDARD +#undef LIB_STANDARD +#endif + #ifdef SYSTEM_TYPE #undef SYSTEM_TYPE #endif @@ -17,7 +22,12 @@ working alloca function and it should be used. */ #define HAVE_ALLOCA #undef C_ALLOCA -#define alloca __builtin_alloca + +#ifndef NOT_C_CODE +#ifndef __GNUC__ +#include +#endif +#endif /* use K&R C */ #ifndef __GNUC__ @@ -71,3 +81,12 @@ char *_getpty(); strcpy (pty_name, name); \ } +/* jpff@maths.bath.ac.uk reports `struct exception' is not defined + on this system, so inhibit use of matherr. */ +#define NO_MATHERR + +/* Info from simon@lia.di.epfl.ch (Simon Leinen) suggests this is needed. */ +#define GETPGRP_NO_ARG + +/* Ulimit(UL_GMEMLIM) is busted... */ +#define ULIMIT_BREAK_VALUE 0x14000000