From 2a49f8901f0fc5d259f327e18f1ac7ba7a53682d Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 31 Oct 2014 21:43:13 -0700 Subject: [PATCH] Cherry Pick "Fix iOS build with new common" --- Limelight/Stream/Connection.m | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Limelight/Stream/Connection.m b/Limelight/Stream/Connection.m index 9679260..9a085eb 100644 --- a/Limelight/Stream/Connection.m +++ b/Limelight/Stream/Connection.m @@ -408,7 +408,18 @@ static OSStatus playbackCallback(void *inRefCon, -(void) main { - LiStartConnection(_host, &_streamConfig, &_clCallbacks, &_drCallbacks, &_arCallbacks, NULL, 0); + PLATFORM_CALLBACKS dummyPlCallbacks; + + // Only used on Windows + dummyPlCallbacks.threadStart = NULL; + + LiStartConnection(_host, + &_streamConfig, + &_clCallbacks, + &_drCallbacks, + &_arCallbacks, + &dummyPlCallbacks, + NULL, 0); }