Commit 92df5c7d authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

Update update status files URLs

- add a win64 file
- do not repeatedly define the constant part
- use the test URL on every platform using --enable-debug, not only win32
(cherry picked from commit 87cfa6dd719667aa1b52f09ef242832b830b6a4f)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9735a6b2
...@@ -75,17 +75,20 @@ ...@@ -75,17 +75,20 @@
*/ */
#if defined( UNDER_CE ) #if defined( UNDER_CE )
# define UPDATE_VLC_STATUS_URL "http://update.videolan.org/vlc/status-ce" # define UPDATE_OS_SUFFIX "-ce"
#elif defined( WIN64 )
# define UPDATE_OS_SUFFIX "-win-x64"
#elif defined( WIN32 ) #elif defined( WIN32 )
# ifndef NDEBUG # define UPDATE_OS_SUFFIX "-win-x86"
# define UPDATE_VLC_STATUS_URL "http://update-test.videolan.org/vlc/status-win-x86"
# else
# define UPDATE_VLC_STATUS_URL "http://update.videolan.org/vlc/status-win-x86"
# endif
#else #else
# define UPDATE_VLC_STATUS_URL "http://update.videolan.org/vlc/status" # define UPDATE_OS_SUFFIX ""
#endif #endif
#ifndef NDEBUG
# define UPDATE_VLC_STATUS_URL "http://update-test.videolan.org/vlc/status-win-x86"
#else
# define UPDATE_VLC_STATUS_URL "http://update.videolan.org/vlc/status" UPDATE_OS_SUFFIX
#endif
/***************************************************************************** /*****************************************************************************
* Update_t functions * Update_t functions
......
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