* ser-tcp.c (close): Define as a function-like macro on MinGW.
This commit is contained in:
parent
99356e9020
commit
056d764617
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue