made to compile on system V
This commit is contained in:
parent
2563acb019
commit
cc9c3ae870
|
@ -378,7 +378,7 @@ _Xioctl: move.l (sp)+,.retaddr
|
|||
#ifdef __USG
|
||||
! only support TIOCGETP and TIOCSETP
|
||||
move.l 4(sp),d0
|
||||
cmp.l d0,#0x7408 ! TIOCGETP
|
||||
cmp.l #0x7408,d0 ! TIOCGETP
|
||||
bne 1f
|
||||
move.l (sp)+,d0
|
||||
move.l d0,(sp)
|
||||
|
@ -386,7 +386,7 @@ _Xioctl: move.l (sp)+,.retaddr
|
|||
lea 8(sp),sp
|
||||
bra sys4
|
||||
1:
|
||||
cmp.l d0,#0x7409 ! TIOCSETP
|
||||
cmp.l #0x7409,d0 ! TIOCSETP
|
||||
bne 9f
|
||||
move.l (sp)+,d0
|
||||
move.l d0,(sp)
|
||||
|
|
Loading…
Reference in a new issue