* ser-tcp.c (close): Define as a function-like macro on MinGW.

This commit is contained in:
Mark Mitchell 2005-07-24 23:02:41 +00:00
parent 99356e9020
commit 056d764617
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-07-24 Mark Mitchell <mark@codesourcery.com>
* ser-tcp.c (close): Define as a function-like macro on MinGW.
2005-07-21 Eric Christopher <echristo@apple.com>
* MAINTAINERS (Misc): Update affiliation.

View file

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