From: Jerry Date: Mon, 20 Jun 2011 21:43:44 +0000 (+0200) Subject: Mac OS X build fixes X-Git-Tag: libsigrok-0.1.0~239 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9a751023136a058dadf008a4ff983351947cc0df;p=libsigrok.git Mac OS X build fixes --- diff --git a/hardware/common/serial.c b/hardware/common/serial.c index b98d3c95..33957763 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -248,9 +248,11 @@ int serial_set_params(int fd, int speed, int bits, int parity, int stopbits, case 115200: baud = B115200; break; +#ifndef __APPLE__ case 460800: baud = B460800; break; +#endif default: return SR_ERR; }