Skip to content
Snippets Groups Projects
Commit 056d7646 authored by Mark Mitchell's avatar Mark Mitchell
Browse files

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

parent 99356e90
No related branches found
No related tags found
No related merge requests found
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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment