]> code.delx.au - gnu-emacs/blobdiff - src/s/irix5-0.h
(Fmove_to_column): Remove unused local variable `end_byte'.
[gnu-emacs] / src / s / irix5-0.h
index 391ef31c60d404d1905c3a8efb5c501d617154e2..b2cdbeb0b8c5076d3fc41fb041302fa350b0ccd6 100644 (file)
@@ -2,6 +2,10 @@
 
 #define IRIX5
 
+#undef sigsetmask  /* use sys_sigsetmask */
+#undef _longjmp /* use system versions, not conservative aliases */
+#undef _setjmp 
+
 #define SETPGRP_RELEASES_CTTY
 
 #ifdef LIBS_SYSTEM
 /* Make process_send_signal work by "typing" a signal character on the pty.  */
 #define SIGNALS_VIA_CHARACTERS
 
-/* Define HAVE_ALLOCA to say that the system provides a properly
-   working alloca function and it should be used. */
-#define HAVE_ALLOCA
-#undef C_ALLOCA
-
 #ifndef NOT_C_CODE
 #ifndef __GNUC__
 #include <alloca.h>
@@ -82,10 +81,6 @@ char *_getpty();
    throughout. */
 #define POSIX_SIGNALS  
 
-/* 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
 
@@ -95,13 +90,6 @@ char *_getpty();
 /* Tell process_send_signal to use VSUSP instead of VSWTCH.  */
 #define PREFER_VSUSP
 
-/* Because unexsgi.c cannot handle a ".sbss" section yet, we must
-   tell the linker to avoid making one.  SGI's cc does this by
-   default, but GCC (at least 2.5.8 and 2.6.0) doesn't. */
-#ifdef __GNUC__
-#define LD_SWITCH_SYSTEM -G 0
-#endif
-
 /* define MAIL_USE_FLOCK if the mailer uses flock
    to interlock access to /usr/spool/mail/$USER.
    The alternative is that a lock file named
@@ -110,12 +98,24 @@ char *_getpty();
 #define MAIL_USE_FLOCK
 
 /* use K&R C */
+#if 0
 #ifndef __GNUC__
 #define C_SWITCH_SYSTEM -cckr
 #endif
+#endif
 
-/* -g does not work on Irix, and since gcc warns if you use it,
-   turn off the warning.  */
+/* -g used not to work on Irix unless you used gas, and since gcc
+   warns if you use it, turn off the warning.  */
+/* -g does now work, at least on recent Irix 6 versions with gcc 2.95;
+    I'm not sure about Irix 5 -- fx  */
 #ifdef __GNUC__
 #define C_DEBUG_SWITCH
 #endif
+
+/* Prevent the variable ospeed from being defined by -lcurses
+   because it defines it with too few bytes.  */
+#define ospeed ospeed_
+
+#define NARROWPROTO 1
+
+#define USE_MMAP_FOR_BUFFERS 1