]> sigrok.org Git - libsigrok.git/commitdiff
Mac OS X build fixes
authorJerry <redacted>
Mon, 20 Jun 2011 21:43:44 +0000 (23:43 +0200)
committerBert Vermeulen <redacted>
Mon, 20 Jun 2011 21:43:44 +0000 (23:43 +0200)
hardware/common/serial.c

index b98d3c95e82f76d5bb573ef3bc1a58e98ab2b1f8..339577630eeeddf26ca472e4696fc8560b15b231 100644 (file)
@@ -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;
        }