diff --git a/limelight-common/PlatformSockets.h b/limelight-common/PlatformSockets.h index cf77f1a..da71d40 100644 --- a/limelight-common/PlatformSockets.h +++ b/limelight-common/PlatformSockets.h @@ -7,11 +7,13 @@ #define SetLastSocketError(x) WSASetLastError(x) #define LastSocketError() WSAGetLastError() +#ifdef LC_WINDOWS_PHONE #undef WINAPI_FAMILY #define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP #include #undef WINAPI_FAMILY #define WINAPI_FAMILY WINAPI_FAMILY_PHONE_APP +#endif #else #include