diff options
author | Jim Blandy <[email protected]> | 1993-05-19 04:56:06 +0000 |
---|---|---|
committer | Jim Blandy <[email protected]> | 1993-05-19 04:56:06 +0000 |
commit | 7260e3398aefd55a953c6b208bc6892543e3b9ef (patch) | |
tree | 36215716335dcc5a28a75c1acd2a4f04397fa26f /src/s | |
parent | 4ef37be461045aabe2061b7121b1f5be89af5d24 (diff) |
Changes for Silicon Graphics Iris 5D.
* unexelfsgi.c: New file; like unexelf.c, but tolerates program
segments above BSS.
* m/iris5d.h: New file.
* s/irix5-0.h: New file.
* process.c [__sgi] (allocate_pty): Give up immediately if pty is
inaccessible.
Diffstat (limited to 'src/s')
-rw-r--r-- | src/s/irix5-0.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h index 7f8cb356ee..fe42458768 100644 --- a/src/s/irix5-0.h +++ b/src/s/irix5-0.h @@ -1,6 +1,17 @@ -#include "irix3-3.h" +#include "s-usg5-4.h" +#ifdef LIBS_SYSTEM +#undef LIBS_SYSTEM +#endif + +#ifdef SYSTEM_TYPE +#undef SYSTEM_TYPE +#endif +#define SYSTEM_TYPE "silicon-graphics-unix" + +#ifdef SETUP_SLAVE_PTY +#undef SETUP_SLAVE_PTY +#endif -#define USG5_3 /* Define HAVE_ALLOCA to say that the system provides a properly working alloca function and it should be used. */ @@ -18,11 +29,17 @@ we'll just define WNOHANG right here. (An implicit decl is good enough for wait3.) */ -#define WNOHANG 0x1 +/* #define WNOHANG 0x1 */ /* No need to use sprintf to get the tty name--we get that from _getpty. */ +#ifdef PTY_TTY_NAME_SPRINTF +#undef PTY_TTY_NAME_SPRINTF +#endif #define PTY_TTY_NAME_SPRINTF /* No need to get the pty name at all. */ +#ifdef PTY_NAME_SPRINTF +#undef PTY_NAME_SPRINTF +#endif #define PTY_NAME_SPRINTF #ifdef emacs char *_getpty(); |