Commit 87cfa6dd authored by Rafaël Carré's avatar Rafaël Carré

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
parent 89d23df7
...@@ -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