mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-12 02:36:23 +00:00
Fix build on Windows
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#define SetLastSocketError(x) WSASetLastError(x)
|
||||
#define LastSocketError() WSAGetLastError()
|
||||
|
||||
#define SHUT_RDWR SD_BOTH
|
||||
|
||||
typedef int SOCK_RET;
|
||||
typedef int SOCKADDR_LEN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user