Fix most of limelight common build for Windows Phone

This commit is contained in:
Cameron Gutman
2014-01-22 20:17:40 -05:00
committed by Michelle Bergeron
parent d4422ced0d
commit 1d20b17850
4 changed files with 68 additions and 3 deletions
+7
View File
@@ -6,6 +6,13 @@
#include <Windows.h>
#define SetLastSocketError(x) WSASetLastError(x)
#define LastSocketError() WSAGetLastError()
#undef WINAPI_FAMILY
#define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP
#include <WinSock2.h>
#undef WINAPI_FAMILY
#define WINAPI_FAMILY WINAPI_FAMILY_PHONE_APP
#else
#include <sys/types.h>
#include <sys/socket.h>