Skip to content

Commit c699a81

Browse files
committed
Fix Z/OS
1 parent 6f60365 commit c699a81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tc.disc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ static struct termios otermiob;
5353
char strPOSIX[] = "posix";
5454
#endif /* _IBMR2 */
5555

56+
#ifdef __IBMC__
57+
# define HAVE_DISC /* Z/OS TIOCGETD returns no such device */
58+
#endif /* __IBMC__ */
59+
5660
#if !defined(HAVE_DISC) && defined(TIOCGETD) && defined(NTTYDISC)
5761
static int oldisc;
5862
#endif /* !HAVE_DISC && TIOCGETD && NTTYDISC */

0 commit comments

Comments
 (0)