]> git.sesse.net Git - vlc/commitdiff
Don't test for buggy libintl when NLS is disabled
authorChristophe Mutricy <xtophe@videolan.org>
Mon, 3 Mar 2008 00:04:36 +0000 (00:04 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Mon, 3 Mar 2008 00:49:43 +0000 (00:49 +0000)
src/vlc.c

index b8dd9bb9586876aa049143363252c0f4a79ae8da..2f223428034f5a132e059a3e7b03aadc61b17ee3 100644 (file)
--- 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