More ifdef goo is needed due to NOKERNINFO.

This commit is contained in:
Tiago Cunha 2012-06-18 16:23:42 +00:00
parent bc47596313
commit 202c04414c

View File

@ -246,7 +246,9 @@ client_main(int argc, char **argv, int flags)
cfmakeraw(&tio); cfmakeraw(&tio);
tio.c_iflag = ICRNL|IXANY; tio.c_iflag = ICRNL|IXANY;
tio.c_oflag = OPOST|ONLCR; tio.c_oflag = OPOST|ONLCR;
#ifdef NOKERNINFO
tio.c_lflag = NOKERNINFO; tio.c_lflag = NOKERNINFO;
#endif
tio.c_cflag = CREAD|CS8|HUPCL; tio.c_cflag = CREAD|CS8|HUPCL;
tio.c_cc[VMIN] = 1; tio.c_cc[VMIN] = 1;
tio.c_cc[VTIME] = 0; tio.c_cc[VTIME] = 0;