mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-27 14:29:58 +00:00
Fix build on Windows
This commit is contained in:
1 parent
d7f40ec39b
commit
a933886537
1 file changed
+2
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user