1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 03:51:32 +00:00

Remove AIX define from Linux, Cygwin, Solaris, OpenBSD. (#320)

This commit is contained in:
Bruce Mitchener
2021-01-29 14:04:57 +07:00
committed by GitHub
parent 805cb86a06
commit 0efeedd6d3
9 changed files with 11 additions and 23 deletions

View File

@@ -126,6 +126,9 @@ gotpty:
/* Get console IO */
ioctl(ptyfd, FIOCLEX, 0);
/* It isn't clear which platforms this #ifndef should
* actually apply to. The AIX define used to apply
* to a number of platforms, not just AIX-actual. */
#ifndef AIX
if ((ioctl(ttyfd, TIOCCONS, 0)) == -1) {
OSMESSAGE_PRINT(printf("TIOCCONS error\n"));