Builds and runs under cygwin
This commit is contained in:
1 parent
ab8bb16485
commit
6d323faf6c
4 files changed
+167
-5
No files matched your search
@@ -9,12 +9,12 @@
|
||||
#include <getopt.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#define WIN32 1
|
||||
#endif
|
||||
|
||||
#define SERIAL_TIMEOUT 2
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#undef WIN32
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#include <termios.h>
|
||||
#include <sys/select.h>
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#define WIN32 1
|
||||
#undef WIN32
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
Reference in new issue
Block a user