made to compile on system V

This commit is contained in:
ceriel 1988-06-13 15:01:54 +00:00
parent 2563acb019
commit cc9c3ae870

View file

@ -378,7 +378,7 @@ _Xioctl: move.l (sp)+,.retaddr
#ifdef __USG #ifdef __USG
! only support TIOCGETP and TIOCSETP ! only support TIOCGETP and TIOCSETP
move.l 4(sp),d0 move.l 4(sp),d0
cmp.l d0,#0x7408 ! TIOCGETP cmp.l #0x7408,d0 ! TIOCGETP
bne 1f bne 1f
move.l (sp)+,d0 move.l (sp)+,d0
move.l d0,(sp) move.l d0,(sp)
@ -386,7 +386,7 @@ _Xioctl: move.l (sp)+,.retaddr
lea 8(sp),sp lea 8(sp),sp
bra sys4 bra sys4
1: 1:
cmp.l d0,#0x7409 ! TIOCSETP cmp.l #0x7409,d0 ! TIOCSETP
bne 9f bne 9f
move.l (sp)+,d0 move.l (sp)+,d0
move.l d0,(sp) move.l d0,(sp)