Skip to content

Commit

Permalink
osaSerialPort.h: fix for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
adeguet1 authored Dec 9, 2023
1 parent 4606750 commit 6935773
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cisstOSAbstraction/osaSerialPort.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ class CISST_EXPORT osaSerialPort: public cmnGenericObject
BaudRate230400 = CBR_230400,
BaudRate460800 = CBR_460800};
#else
// MacOS doesn't define some of the baud rates
#ifndef B460800
#define B460800 460800
#endif
enum BaudRateType {BaudRate300 = B300,
BaudRate1200 = B1200,
BaudRate9600 = B9600,
Expand Down

0 comments on commit 6935773

Please sign in to comment.