Fix build on Windows
This commit is contained in:
parent
d7f40ec39b
commit
a933886537
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@
|
||||||
#define SetLastSocketError(x) WSASetLastError(x)
|
#define SetLastSocketError(x) WSASetLastError(x)
|
||||||
#define LastSocketError() WSAGetLastError()
|
#define LastSocketError() WSAGetLastError()
|
||||||
|
|
||||||
|
#define SHUT_RDWR SD_BOTH
|
||||||
|
|
||||||
typedef int SOCK_RET;
|
typedef int SOCK_RET;
|
||||||
typedef int SOCKADDR_LEN;
|
typedef int SOCKADDR_LEN;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue