Fix iOS build with new common

This commit is contained in:
Cameron Gutman
2014-10-31 21:43:13 -07:00
parent 6273f2bb29
commit 88c917c103
2 changed files with 13 additions and 2 deletions

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