aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-08-12 21:55:46 +0000
committerRichard M. Stallman1993-08-12 21:55:46 +0000
commitb7a11e21015676b8eacf6a531c2e76d274c293ea (patch)
tree09a85a7c601547f9074f08d7b1b24dc67d7def6b /src
parent9fbb139c5a3c5bc9046c7d0ba0a207036ac6db4b (diff)
downloademacs-b7a11e21015676b8eacf6a531c2e76d274c293ea.tar.gz
emacs-b7a11e21015676b8eacf6a531c2e76d274c293ea.zip
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')
-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 @@
1#include "s-usg5-4.h" 1#include "usg5-4.h"
2
2#ifdef LIBS_SYSTEM 3#ifdef LIBS_SYSTEM
3#undef LIBS_SYSTEM 4#undef LIBS_SYSTEM
4#endif 5#endif
5 6
7#ifdef LIB_STANDARD
8#undef LIB_STANDARD
9#endif
10
6#ifdef SYSTEM_TYPE 11#ifdef SYSTEM_TYPE
7#undef SYSTEM_TYPE 12#undef SYSTEM_TYPE
8#endif 13#endif
@@ -17,7 +22,12 @@
17 working alloca function and it should be used. */ 22 working alloca function and it should be used. */
18#define HAVE_ALLOCA 23#define HAVE_ALLOCA
19#undef C_ALLOCA 24#undef C_ALLOCA
20#define alloca __builtin_alloca 25
26#ifndef NOT_C_CODE
27#ifndef __GNUC__
28#include <alloca.h>
29#endif
30#endif
21 31
22/* use K&R C */ 32/* use K&R C */
23#ifndef __GNUC__ 33#ifndef __GNUC__
@@ -71,3 +81,12 @@ char *_getpty();
71 strcpy (pty_name, name); \ 81 strcpy (pty_name, name); \
72} 82}
73 83
84/* jpff@maths.bath.ac.uk reports `struct exception' is not defined
85 on this system, so inhibit use of matherr. */
86#define NO_MATHERR
87
88/* Info from simon@lia.di.epfl.ch (Simon Leinen) suggests this is needed. */
89#define GETPGRP_NO_ARG
90
91/* Ulimit(UL_GMEMLIM) is busted... */
92#define ULIMIT_BREAK_VALUE 0x14000000