Futile attempts to build Windows version in Cygwin.

This commit is contained in:
Joby Taffey committed 2012-03-11 00:21:22 +00:00
1 parent 7d48bcdac2
commit ab8bb16485
3 files changed
+17 -2

No files matched your search

+4 -2
View File
@@ -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
+4
View File
@@ -7,6 +7,10 @@
#include <string.h>
#include <stdlib.h>
#ifdef __CYGWIN__
#define WIN32 1
#endif
#ifndef WIN32
#include <arpa/inet.h>
#else