]> sigrok.org Git - libsigrok.git/commitdiff
serial.c: OpenBSD doesn't have B460800.
authorUwe Hermann <redacted>
Sat, 19 Jan 2013 14:55:22 +0000 (15:55 +0100)
committerUwe Hermann <redacted>
Sat, 19 Jan 2013 14:55:22 +0000 (15:55 +0100)
hardware/common/serial.c

index e114f2d0400d175a30283f5b979403b033974c61..fa5146d719dfcd45b780b514d5f9dc0ad8e59cc4 100644 (file)
@@ -499,7 +499,7 @@ SR_PRIV int serial_set_params(struct sr_serial_dev_inst *serial, int baudrate,
        case 230400:
                baud = B230400;
                break;
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__OpenBSD__)
        case 460800:
                baud = B460800;
                break;