serial.c: FreeBSD and OpenBSD don't have OFILL either.

This commit is contained in:
Uwe Hermann 2013-03-17 15:07:50 +01:00
parent 22ca5aa68b
commit cc840ab618
1 changed files with 1 additions and 1 deletions

View File

@ -592,7 +592,7 @@ SR_PRIV int serial_set_params(struct sr_serial_dev_inst *serial, int baudrate,
/* Turn off all serial port cooking. */
term.c_iflag &= ~(ISTRIP | INLCR | ICRNL);
term.c_oflag &= ~(ONLCR | OCRNL | ONOCR);
#if !defined(__NetBSD__)
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
term.c_oflag &= ~OFILL;
#endif