]> git.sesse.net Git - vlc/commitdiff
Fix MacOS linking
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Sep 2007 18:06:26 +0000 (18:06 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Sep 2007 18:06:26 +0000 (18:06 +0000)
modules/control/rc.c
src/libvlc.sym
src/misc/update.c

index 24eec8b10a695f2b6b1e66a3a716b01c244de5c5..d75c14d5239d50b5d13be10c456830f88de3eeca 100644 (file)
@@ -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
index 064514dfdee38b23dcb00a7bb8f6d01681df2acc..9bb795067dd006b12435f1e84c3e53ac7f6ff65d 100644 (file)
@@ -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
index 50986952695837cc62d49534965b447920dcc2e6..be8de6381b016ba594d40b115770be94a5fdce62 100644 (file)
@@ -1,4 +1,3 @@
-#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