# HG changeset patch # User Jim Blandy # Date 738196313 0 # Node ID 423d4e4acb41674ffd68c73acbe1aeee3d88a593 # Parent 8c74c47121641816f745b26ef131fcb6a64132a1 Changes for SGI from Matthew J Brown . * 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. * m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're using GCC. diff -r 8c74c4712164 -r 423d4e4acb41 src/m/iris5d.h --- a/src/m/iris5d.h Sun May 23 22:30:42 1993 +0000 +++ b/src/m/iris5d.h Sun May 23 22:31:53 1993 +0000 @@ -190,6 +190,8 @@ #define XSETMARKBIT(a,b) ((a) = ((a) & ~MARKBIT) | ((b) ? MARKBIT : 0)) #define XUNMARK(a) ((a) = (((unsigned)(a) << INTBITS-GCTYPEBITS-VALBITS) >> INTBITS-GCTYPEBITS-VALBITS)) +#ifndef __GNUC__ /* Turn off some "helpful" error checks for type mismatches that we can't fix without breaking other machines. */ #define C_SWITCH_MACHINE -cckr +#endif