diff options
author | Greg Hudson <ghudson@mit.edu> | 1994-11-01 11:11:37 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 1994-11-01 11:11:37 +0000 |
commit | a59d01bd544c2c51751d0a83a9df71e9058364f0 (patch) | |
tree | 31e59557d417e54ee2d87bfe8103c8b266dfe323 /zwgc | |
parent | f6dbeb1d383fd68348dfb2092ff02401261cd338 (diff) |
SunOS wants POSIX tcgetpgrp().
Diffstat (limited to 'zwgc')
-rw-r--r-- | zwgc/mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -199,7 +199,7 @@ static int check_tty() if (tty < 0) return 0; -#ifdef POSIX +#ifdef defined(POSIX) || defined(SUNOS) result = ( ((pgrp = tcgetpgrp(tty)) < 0) ? 0 : 1 ); #else result = ( (ioctl(tty, TIOCGPGRP, &pgrp) < 0) ? 0 : 1 ); |