add darwin support
[deb_libcec.git] / src / lib / platform / linux / serialport.cpp
index 0bb4e2cf6c419ad0980fea55ecab2033664015f4..de60da6e5f43ae58c58c89690d38eb4b6e4a4572 100644 (file)
 #include "../baudrate.h"
 #include "../timeutils.h"
 
+#if defined(__APPLE__)
+#ifndef XCASE
+#define XCASE  0
+#endif
+#ifndef OLCUC
+#define OLCUC  0
+#endif
+#ifndef IUCLC
+#define IUCLC  0
+#endif
+#endif
 using namespace std;
 using namespace CEC;