Skip to content

Commit

Permalink
Merge pull request #3 from kihwal/master
Browse files Browse the repository at this point in the history
Conditionally define B460800 to allow building on OSX
  • Loading branch information
marrold authored Aug 14, 2018
2 parents e35c834 + bafbcbf commit f6bd7cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions AMBEserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ struct dv3k_packet {
#define DEFAULT_TTY "/dev/ttyUSB0"
#define DEFAULT_BAUD 230400

// B460800 is not defined on OSX
#ifndef B460800
#define B460800 460800
#endif

struct sockaddr_in sa = { 0 };
static int debug = 0;
static int override_ver = 0;
Expand Down

0 comments on commit f6bd7cb

Please sign in to comment.