[vlc-commits] Revert "uClibc compilation fix"

Rémi Denis-Courmont git at videolan.org
Tue Feb 28 17:36:45 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 28 18:29:36 2012 +0200| [fe146fbe30bd10ccd7ba4543e0295a474598f646] | committer: Rémi Denis-Courmont

Revert "uClibc compilation fix"

This reverts commit 09c815edec7fb4a241fa3ef217f3ed3196da7ce2.

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

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

diff --git a/src/posix/linux_specific.c b/src/posix/linux_specific.c
index 7e86a18..28dbed1 100644
--- a/src/posix/linux_specific.c
+++ b/src/posix/linux_specific.c
@@ -74,14 +74,14 @@ error:
     return (path != NULL) ? path : strdup (PKGLIBDIR);
 }
 
-#if defined(__GLIBC__) && !defined(__UCLIBC__)
+#ifdef __GLIBC__
 # include <gnu/libc-version.h>
 # include <stdlib.h>
 #endif
 
 void system_Init (void)
 {
-#if defined(__GLIBC__) && !defined(__UCLIBC__)
+#ifdef __GLIBC__
     const char *glcv = gnu_get_libc_version ();
 
     /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing,



More information about the vlc-commits mailing list