Get master building on MacOS
This commit is contained in:
parent
55bf28d4c3
commit
1354864038
5 changed files with 75 additions and 26 deletions
|
|
@ -13,10 +13,13 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#else
|
||||
#endif /* _WIN32 */
|
||||
|
||||
#ifdef __linux__
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
|
@ -35,7 +38,7 @@
|
|||
#include <asm-generic/ioctls.h>
|
||||
|
||||
|
||||
#endif
|
||||
#endif /* __linux__ */
|
||||
|
||||
|
||||
//Serial Port Class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue