[vlc-devel] commit: Don't bother testing the libintl version when NLS is disabled ( Christophe Mutricy )

git version control git at videolan.org
Sun Mar 2 21:50:48 CET 2008


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Sun Mar  2 20:05:15 2008 +0000| [c33b20a197be3db20271ced2296a78d4152d3d8f]

Don't bother testing the libintl version when NLS is disabled

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

 src/vlc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/vlc.c b/src/vlc.c
index b8dd9bb..2f22342 100644
--- a/src/vlc.c
+++ b/src/vlc.c
@@ -70,7 +70,7 @@ int main( int i_argc, const char *ppsz_argv[] )
 {
     int i_ret;
 
-#   ifdef __GLIBC__
+#   if defined __GLIBC__ && defined ENABLE_NLS
     if (dlsym (RTLD_NEXT, "inet6_rth_add") && !dlsym (RTLD_NEXT, "qsort_r"))
     {
         /* Way too many Linux users have glibc 2.5-2.7 that keeps crashing




More information about the vlc-devel mailing list