summaryrefslogtreecommitdiff
path: root/src/s/irix5-0.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-08-12 21:55:46 +0000
committerRichard M. Stallman <rms@gnu.org>1993-08-12 21:55:46 +0000
commitb7a11e21015676b8eacf6a531c2e76d274c293ea (patch)
tree09a85a7c601547f9074f08d7b1b24dc67d7def6b /src/s/irix5-0.h
parent9fbb139c5a3c5bc9046c7d0ba0a207036ac6db4b (diff)
downloademacs-b7a11e21015676b8eacf6a531c2e76d274c293ea.tar.gz
Include alloca.h if appropriate.
Fix the #include file name. (ULIMIT_BREAK_VALUE, GETPGRP_NO_ARG, NO_MATHERR): New macros. (LIB_STANDARD): #undef it.
Diffstat (limited to 'src/s/irix5-0.h')
-rw-r--r--src/s/irix5-0.h23
1 files changed, 21 insertions, 2 deletions
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 <alloca.h>
+#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