mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Remove jank WP winsock header stuff
This commit is contained in:
parent
ddd3cb8da9
commit
e281d3c9fe
@ -9,18 +9,6 @@
|
||||
#define SetLastSocketError(x) WSASetLastError(x)
|
||||
#define LastSocketError() WSAGetLastError()
|
||||
|
||||
#ifdef LC_WINDOWS_PHONE
|
||||
#undef WINAPI_FAMILY
|
||||
#define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP
|
||||
#endif
|
||||
|
||||
#include <WinSock2.h>
|
||||
|
||||
#ifdef LC_WINDOWS_PHONE
|
||||
#undef WINAPI_FAMILY
|
||||
#define WINAPI_FAMILY WINAPI_FAMILY_PHONE_APP
|
||||
#endif
|
||||
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user