[vlc-devel] commit: Do not build update_crypto.c content if update-check is disabled ( Rafaël Carré )

git version control git at videolan.org
Thu Aug 20 08:55:32 CEST 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Thu Aug 20 08:55:14 2009 +0200| [0def49651d30c2055d2c6465fc1d96f11c7a1735] | committer: Rafaël Carré 

Do not build update_crypto.c content if update-check is disabled

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

 src/misc/update_crypto.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/misc/update_crypto.c b/src/misc/update_crypto.c
index fa557a8..e3d66ed 100644
--- a/src/misc/update_crypto.c
+++ b/src/misc/update_crypto.c
@@ -30,6 +30,8 @@
  * Preamble
  *****************************************************************************/
 
+#ifdef UPDATE_CHECK
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -1028,3 +1030,5 @@ int download_signature( vlc_object_t *p_this, signature_packet_t *p_sig,
 
     return VLC_SUCCESS;
 }
+
+#endif /* UPDATE_CHECK */




More information about the vlc-devel mailing list