From: Geoffroy Couprie Date: Sat, 27 Feb 2010 18:24:44 +0000 (+0100) Subject: update.c: ifdef some win32 specific code X-Git-Tag: 1.1.0-pre1~632 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=92c3f4a5c88652aa8cdcca9b4406b8a836342949;p=vlc update.c: ifdef some win32 specific code --- diff --git a/src/misc/update.c b/src/misc/update.c index 315223a5f3..8a48673777 100644 --- a/src/misc/update.c +++ b/src/misc/update.c @@ -52,9 +52,9 @@ #include #include - +#ifdef WIN32 #include - +#endif #include "update.h" #include "../libvlc.h" @@ -732,6 +732,7 @@ static void* update_DownloadReal( vlc_object_t *p_this ) msg_Info( p_udt, "%s authenticated", psz_destfile ); free( p_hash ); +#ifdef WIN32 int answer = dialog_Question( p_udt, _("Update VLC media player"), _("The new version was successfully downloaded. Do you want to close VLC and install it now?"), _("Install"), _("Cancel"), NULL); @@ -742,6 +743,7 @@ static void* update_DownloadReal( vlc_object_t *p_this ) if(answer > 32) libvlc_Quit(p_this->p_libvlc); } +#endif end: if( p_progress ) dialog_ProgressDestroy( p_progress );