synaser.pas - DARWIN -> BSD port speeds

git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@198 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
geby 2015-02-16 13:19:06 +00:00
parent a914047ce7
commit 15f28e452c

View File

@ -197,7 +197,7 @@ type
const
{$IFDEF UNIX}
{$IFDEF DARWIN}
{$IFDEF BSD}
MaxRates = 18; //MAC
{$ELSE}
MaxRates = 30; //UNIX
@ -226,7 +226,7 @@ const
(57600, B57600),
(115200, B115200),
(230400, B230400)
{$IFNDEF DARWIN}
{$IFNDEF BSD}
,(460800, B460800)
{$IFDEF UNIX}
,(500000, B500000),
@ -245,7 +245,7 @@ const
);
{$ENDIF}
{$IFDEF DARWIN}
{$IFDEF BSD}
const // From fcntl.h
O_SYNC = $0080; { synchronous writes }
{$ENDIF}