changeset 4588:73d1d7d05a5a

Include alloca.h if appropriate. Fix the #include file name. (ULIMIT_BREAK_VALUE, GETPGRP_NO_ARG, NO_MATHERR): New macros. (LIB_STANDARD): #undef it.
author Richard M. Stallman <rms@gnu.org>
date Thu, 12 Aug 1993 21:55:46 +0000
parents 3c67dd995bc5
children 3e419e5bbed6
files src/s/irix5-0.h
diffstat 1 files changed, 21 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/irix5-0.h	Thu Aug 12 21:01:06 1993 +0000
+++ b/src/s/irix5-0.h	Thu Aug 12 21:55:46 1993 +0000
@@ -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 <alloca.h>
+#endif
+#endif
 
 /* use K&R C */
 #ifndef __GNUC__
@@ -71,3 +81,12 @@
   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