Cherry Pick "Fix iOS build with new common"

This commit is contained in:
Cameron Gutman 2014-10-31 21:43:13 -07:00
parent 412c5c2516
commit 2a49f8901f

View File

@ -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);
}