Futile attempts to build Windows version in Cygwin.
This commit is contained in:
1 parent
7d48bcdac2
commit
ab8bb16485
3 files changed
+17
-2
No files matched your search
@@ -9,6 +9,10 @@
|
||||
#include <getopt.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#define WIN32 1
|
||||
#endif
|
||||
|
||||
#define SERIAL_TIMEOUT 2
|
||||
|
||||
#ifndef WIN32
|
||||
@@ -18,8 +22,6 @@
|
||||
#include <windows.h>
|
||||
#include <wincon.h>
|
||||
#include <time.h>
|
||||
#define O_NOCTTY 0
|
||||
#define O_NDELAY 0
|
||||
#define B115200 115200
|
||||
#endif
|
||||
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#define WIN32 1
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#include <arpa/inet.h>
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user