From: Uwe Hermann Date: Sat, 19 Jan 2013 14:55:22 +0000 (+0100) Subject: serial.c: OpenBSD doesn't have B460800. X-Git-Tag: dsupstream~348 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b97cbca6c9c715619c8a5a9d6f5de267ff061175;p=libsigrok.git serial.c: OpenBSD doesn't have B460800. --- diff --git a/hardware/common/serial.c b/hardware/common/serial.c index e114f2d0..fa5146d7 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -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;