]> sigrok.org Git - libsigrok.git/commitdiff
serial.c: FreeBSD and OpenBSD don't have OFILL either.
authorUwe Hermann <redacted>
Sun, 17 Mar 2013 14:07:50 +0000 (15:07 +0100)
committerUwe Hermann <redacted>
Sun, 17 Mar 2013 14:07:50 +0000 (15:07 +0100)
hardware/common/serial.c

index b7ec2da3fe7d491ab946eb45b5a12d1e7cc00103..2980d523bbe7c39d7df0cc8860e36c8ce4dcff3b 100644 (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