mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-08 18:49:18 +02:00
compat: remove unused WSA* definitions
This commit is contained in:
@@ -42,14 +42,12 @@ typedef unsigned int SOCKET;
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#define WSAGetLastError() errno
|
#define WSAGetLastError() errno
|
||||||
#define WSAEINVAL EINVAL
|
#define WSAEINVAL EINVAL
|
||||||
#define WSAEALREADY EALREADY
|
|
||||||
#define WSAEWOULDBLOCK EWOULDBLOCK
|
#define WSAEWOULDBLOCK EWOULDBLOCK
|
||||||
#define WSAEAGAIN EAGAIN
|
#define WSAEAGAIN EAGAIN
|
||||||
#define WSAEMSGSIZE EMSGSIZE
|
#define WSAEMSGSIZE EMSGSIZE
|
||||||
#define WSAEINTR EINTR
|
#define WSAEINTR EINTR
|
||||||
#define WSAEINPROGRESS EINPROGRESS
|
#define WSAEINPROGRESS EINPROGRESS
|
||||||
#define WSAEADDRINUSE EADDRINUSE
|
#define WSAEADDRINUSE EADDRINUSE
|
||||||
#define WSAENOTSOCK EBADF
|
|
||||||
#define INVALID_SOCKET (SOCKET)(~0)
|
#define INVALID_SOCKET (SOCKET)(~0)
|
||||||
#define SOCKET_ERROR -1
|
#define SOCKET_ERROR -1
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user