2011-10-28 Alen Skondro <askondro@gmail.com>

* ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already
	defined.
This commit is contained in:
Pedro Alves 2011-10-28 13:32:05 +00:00
parent 006ad0a1b5
commit 8e7ebaf5c6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-10-28 Alen Skondro <askondro@gmail.com>
* ser-tcp.c [USE_WIN32API] (ETIMEOUT): Don't define if already
defined.
2011-10-27 Meador Inge <meadori@codesourcery.com>
* MAINTAINERS (Write After Approval): Add myself to the list.

View File

@ -39,7 +39,9 @@
#ifdef USE_WIN32API
#include <winsock2.h>
#ifndef ETIMEDOUT
#define ETIMEDOUT WSAETIMEDOUT
#endif
#define close(fd) closesocket (fd)
#define ioctl ioctlsocket
#else