#include <gcrypt.h>
#include <vlc_gcrypt.h>
-
+#ifdef WIN32
#include <shellapi.h>
-
+#endif
#include "update.h"
#include "../libvlc.h"
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);
if(answer > 32)
libvlc_Quit(p_this->p_libvlc);
}
+#endif
end:
if( p_progress )
dialog_ProgressDestroy( p_progress );