Mac OS X build fixes

This commit is contained in:
Jerry 2011-06-20 23:43:44 +02:00 committed by Bert Vermeulen
parent a634574eae
commit 9a75102313
1 changed files with 2 additions and 0 deletions

View 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;
}