]> git.eshelyaron.com Git - emacs.git/commitdiff
Include alloca.h if appropriate.
authorRichard M. Stallman <rms@gnu.org>
Thu, 12 Aug 1993 21:55:46 +0000 (21:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 12 Aug 1993 21:55:46 +0000 (21:55 +0000)
Fix the #include file name.
(ULIMIT_BREAK_VALUE, GETPGRP_NO_ARG, NO_MATHERR): New macros.
(LIB_STANDARD): #undef it.

src/s/irix5-0.h

index 61928f08dfeaf161bf8a7b27f062d195cb7e29c4..ef00caa1b134b1edf578c813deaf559e3b23e571 100644 (file)
@@ -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
    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