Commit 0500053e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix MacOS linking

parent 1508936f
......@@ -747,12 +747,10 @@ static void Run( intf_thread_t *p_intf )
Help( p_intf, b_longhelp );
}
#if 0
else if( !strcmp( psz_cmd, "check-updates" ) )
{
checkUpdates( p_intf, psz_arg );
}
#endif
else if( !strcmp( psz_cmd, "key" ) || !strcmp( psz_cmd, "hotkey" ) )
{
var_SetInteger( p_intf->p_libvlc, "key-pressed",
......@@ -2057,7 +2055,6 @@ static input_item_t *parse_MRL( intf_thread_t *p_intf, char *psz_mrl )
return p_item;
}
#if 0
/*****************************************************************************
* checkUpdates : check for updates
****************************************************************************/
......@@ -2174,4 +2171,3 @@ static void checkUpdates( intf_thread_t *p_intf, char *psz_arg )
}
update_Delete( p_u );
}
#endif
......@@ -318,6 +318,14 @@ tls_ServerDelete
ToLocale
unescape_URI
unescape_URI_duplicate
update_Check
update_Delete
update_download
update_iterator_Action
update_iterator_ChooseMirrorAndFile
update_iterator_Delete
update_iterator_New
__update_New
us_atof
us_strtod
utf8_fopen
......
#if 0
/*****************************************************************************
* update.c: VLC update and plugins download
*****************************************************************************
......@@ -133,7 +132,14 @@ update_t *__update_New( vlc_object_t *p_this )
p_update->i_mirrors = 0;
p_update->b_mirrors = VLC_FALSE;
return p_update;
#if 1
msg_Err( p_this, "Auto-update currently disabled." );
vlc_mutex_destroy( &p_update->lock );
free( p_update );
return NULL;
#else
return p_update
#endif
}
/**
......@@ -1338,4 +1344,3 @@ void update_download_for_real( download_thread_t *p_this )
vlc_object_destroy( p_this );
}
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment