I assume this is going to break IRIX 5.x. Any ideas on how to ifdef it?
Alan Bawden writes:
> To compile Scsh 0.5.1 on IRIX 6.2 it is necessary to apply the following
> patch:
>
> --- scsh-0.5.1/scsh/irix/sigset.h.orig Fri Oct 13 23:34:21 1995
> +++ scsh-0.5.1/scsh/irix/sigset.h Fri Oct 10 17:32:05 1997
> @@ -2,9 +2,9 @@
> ** These macros are OS-dependent, and must be defined per-OS.
> */
>
> -#define make_sigset(maskp, hi, lo) ((maskp)->sigbits[0]=((hi)<<24)|(lo))
> +#define make_sigset(maskp, hi, lo) ((maskp)->__sigbits[0]=((hi)<<24)|(lo))
>
> /* Not a procedure: */
> #define split_sigset(mask, hip, lop) \
> - ((*(hip)=((mask).sigbits[0]>>24)&0xff), \
> - (*(lop)=((mask).sigbits[0]&0xffffff)))
> + ((*(hip)=((mask).__sigbits[0]>>24)&0xff), \
> + (*(lop)=((mask).__sigbits[0]&0xffffff)))
|