Mercurial > emacs
comparison src/s/irix5-0.h @ 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 | 589ab12dbe3d |
children | d16d1e3af7b3 |
comparison
equal
deleted
inserted
replaced
4587:3c67dd995bc5 | 4588:73d1d7d05a5a |
---|---|
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 |
5 #endif | |
6 | |
7 #ifdef LIB_STANDARD | |
8 #undef LIB_STANDARD | |
4 #endif | 9 #endif |
5 | 10 |
6 #ifdef SYSTEM_TYPE | 11 #ifdef SYSTEM_TYPE |
7 #undef SYSTEM_TYPE | 12 #undef SYSTEM_TYPE |
8 #endif | 13 #endif |
15 | 20 |
16 /* Define HAVE_ALLOCA to say that the system provides a properly | 21 /* Define HAVE_ALLOCA to say that the system provides a properly |
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__ |
24 #define C_SWITCH_MACHINE -cckr | 34 #define C_SWITCH_MACHINE -cckr |
25 #endif | 35 #endif |
69 if (fstat (fd, &stb) < 0) \ | 79 if (fstat (fd, &stb) < 0) \ |
70 return -1; \ | 80 return -1; \ |
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 |