SunOS fixes

This commit is contained in:
Andrew Pamment
2018-01-09 18:07:41 +10:00
parent 3306aebb8c
commit f5e27ce4c3
2 changed files with 3 additions and 1 deletions

2
deps/odoors/ODCom.c vendored
View File

@@ -1796,6 +1796,8 @@ no_fossil:
tio_raw.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
tio_raw.c_cflag &= ~(CSIZE|PARENB);
tio_raw.c_cflag |= CS8;
tio_raw.c_cc[VMIN] = 1;
tio_raw.c_cc[VTIME] = 0;
#else
cfmakeraw(&tio_raw);
#endif