From ac6412f4be1c13d5b420edf574ec4d7ab0b2b15c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 2 Feb 2014 05:05:52 -0500 Subject: [PATCH] Fix compile error on Windows --- limelight-common/PlatformSockets.h | 2 ++ 1 file changed, 2 insertions(+) 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