[vlc-devel] commit: Don't test for buggy libintl when NLS is disabled ( Christophe Mutricy )

git version control git at videolan.org
Mon Mar 3 01:53:17 CET 2008


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Mon Mar  3 00:04:36 2008 +0000| [61d0ac25f124103bcdf609d16e5d489bfaa54e0f]

Don't test for buggy libintl when NLS is disabled

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

 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