Added missing macro on Mac for `B115200`.

pull/7/head
David Garske 2019-04-29 11:54:08 -07:00
parent 558441650c
commit b75f6bbdc2
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@
#include <errno.h> #include <errno.h>
#define MSGLEN (4 + 4 + 8) #define MSGLEN (4 + 4 + 8)
#define PORT "/dev/ttyS0" #define PORT "/dev/ttyS0"
#ifndef B115200
#define B115200 115200
#endif
void alarm_handler(int signo) void alarm_handler(int signo)
{ {