Remove jank WP winsock header stuff
This commit is contained in:
parent
ddd3cb8da9
commit
e281d3c9fe
1 changed files with 0 additions and 12 deletions
|
|
@ -9,18 +9,6 @@
|
||||||
#define SetLastSocketError(x) WSASetLastError(x)
|
#define SetLastSocketError(x) WSASetLastError(x)
|
||||||
#define LastSocketError() WSAGetLastError()
|
#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
|
#else
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue