Mac OS X build fixes
This commit is contained in:
parent
a634574eae
commit
9a75102313
|
@ -248,9 +248,11 @@ int serial_set_params(int fd, int speed, int bits, int parity, int stopbits,
|
||||||
case 115200:
|
case 115200:
|
||||||
baud = B115200;
|
baud = B115200;
|
||||||
break;
|
break;
|
||||||
|
#ifndef __APPLE__
|
||||||
case 460800:
|
case 460800:
|
||||||
baud = B460800;
|
baud = B460800;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
return SR_ERR;
|
return SR_ERR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue