diff options
| author | Jim Blandy | 1993-05-23 22:30:42 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-23 22:30:42 +0000 |
| commit | 00c582c721a715978dbf87cc1d0e9d9bc32c8d4b (patch) | |
| tree | 8b46519be2bb64dfaca39f9bb54b00ed642ea3e0 /src | |
| parent | fd826cfdcebfa58c74e5963430f4e17f35285ae0 (diff) | |
| download | emacs-00c582c721a715978dbf87cc1d0e9d9bc32c8d4b.tar.gz emacs-00c582c721a715978dbf87cc1d0e9d9bc32c8d4b.zip | |
Changes for SGI from Matthew J Brown <mjb@doc.ic.ac.uk>.
* m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're
using GCC.
(NEED_SIOCTL): Move this to...
* s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not
necessary in irix4-0.h.
* s/irix4-0.h: Remove declaration of getpty; apparently Irix 4.0
already declares this elsewhere.
(PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it.
* m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h,
s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.
Diffstat (limited to 'src')
| -rw-r--r-- | src/m/iris4d.h | 2 | ||||
| -rw-r--r-- | src/s/irix4-0.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/m/iris4d.h b/src/m/iris4d.h index 038a8f3e37a..200ab5d5c44 100644 --- a/src/m/iris4d.h +++ b/src/m/iris4d.h | |||
| @@ -183,6 +183,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 183 | #define XSETMARKBIT(a,b) ((a) = ((a) & ~MARKBIT) | ((b) ? MARKBIT : 0)) | 183 | #define XSETMARKBIT(a,b) ((a) = ((a) & ~MARKBIT) | ((b) ? MARKBIT : 0)) |
| 184 | #define XUNMARK(a) ((a) = (((unsigned)(a) << INTBITS-GCTYPEBITS-VALBITS) >> INTBITS-GCTYPEBITS-VALBITS)) | 184 | #define XUNMARK(a) ((a) = (((unsigned)(a) << INTBITS-GCTYPEBITS-VALBITS) >> INTBITS-GCTYPEBITS-VALBITS)) |
| 185 | 185 | ||
| 186 | #ifndef __GNUC__ | ||
| 186 | /* Turn off some "helpful" error checks for type mismatches | 187 | /* Turn off some "helpful" error checks for type mismatches |
| 187 | that we can't fix without breaking other machines. */ | 188 | that we can't fix without breaking other machines. */ |
| 188 | #define C_SWITCH_MACHINE -cckr | 189 | #define C_SWITCH_MACHINE -cckr |
| 190 | #endif | ||
diff --git a/src/s/irix4-0.h b/src/s/irix4-0.h index 7f8cb356ee6..2002143042b 100644 --- a/src/s/irix4-0.h +++ b/src/s/irix4-0.h | |||
| @@ -21,12 +21,10 @@ | |||
| 21 | #define WNOHANG 0x1 | 21 | #define WNOHANG 0x1 |
| 22 | 22 | ||
| 23 | /* No need to use sprintf to get the tty name--we get that from _getpty. */ | 23 | /* No need to use sprintf to get the tty name--we get that from _getpty. */ |
| 24 | #undef PTY_TTY_NAME_SPRINTF | ||
| 24 | #define PTY_TTY_NAME_SPRINTF | 25 | #define PTY_TTY_NAME_SPRINTF |
| 25 | /* No need to get the pty name at all. */ | 26 | /* No need to get the pty name at all. */ |
| 26 | #define PTY_NAME_SPRINTF | 27 | #define PTY_NAME_SPRINTF |
| 27 | #ifdef emacs | ||
| 28 | char *_getpty(); | ||
| 29 | #endif | ||
| 30 | /* We need only try once to open a pty. */ | 28 | /* We need only try once to open a pty. */ |
| 31 | #define PTY_ITERATION | 29 | #define PTY_ITERATION |
| 32 | /* Here is how to do it. */ | 30 | /* Here is how to do it. */ |