[vlc-commits] Update: use update-test.v.o for debug builds on win32

Jean-Baptiste Kempf git at videolan.org
Sat Jun 4 00:48:26 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun  4 00:47:58 2011 +0200| [a1271085c5a335f64748bd9de9be38b87aef2e84] | committer: Jean-Baptiste Kempf

Update: use update-test.v.o for debug builds on win32

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1271085c5a335f64748bd9de9be38b87aef2e84
---

 src/misc/update.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/misc/update.c b/src/misc/update.c
index 3b699be..7356080 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -77,7 +77,11 @@
 #if defined( UNDER_CE )
 #   define UPDATE_VLC_STATUS_URL "http://update.videolan.org/vlc/status-ce"
 #elif defined( WIN32 )
-#   define UPDATE_VLC_STATUS_URL "http://update.videolan.org/vlc/status-win-x86"
+#  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-win-x86"
+#  endif
 #else
 #   define UPDATE_VLC_STATUS_URL "http://update.videolan.org/vlc/status"
 #endif



More information about the vlc-commits mailing list