diff options
| author | Amadeusz Sławiński <amade@asmblr.net> | 2016-02-07 17:15:16 +0100 |
|---|---|---|
| committer | Amadeusz Sławiński <amade@asmblr.net> | 2016-02-07 17:15:16 +0100 |
| commit | 9088fa858d8473bc1bc74f555f80d4c4727ebbec (patch) | |
| tree | e544d1c9d1c8e92a1370c88890ec840b4b08db1c /src/tty.c | |
| parent | fa58b84886f8d02dba0da2ed66a75080b2ba11c5 (diff) | |
| download | screen-9088fa858d8473bc1bc74f555f80d4c4727ebbec.tar.gz | |
assume that we ran on POSIX system
Diffstat (limited to 'src/tty.c')
| -rw-r--r-- | src/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -565,11 +565,11 @@ int SttyMode(struct mode *m, char *opt) } else if (!strncmp("-ixoff", opt, 6)) { m->tio.c_iflag &= ~IXOFF; } else if (!strncmp("crtscts", opt, 7)) { -#if (defined(POSIX) || defined(TERMIO)) && defined(CRTSCTS) +#if defined(CRTSCTS) m->tio.c_cflag |= CRTSCTS; #endif } else if (!strncmp("-crtscts", opt, 8)) { -#if (defined(POSIX) || defined(TERMIO)) && defined(CRTSCTS) +#if defined(CRTSCTS) m->tio.c_cflag &= ~CRTSCTS; #endif } else { |
