[vlc-commits] uClibc compilation fix
Ismael Luceno
git at videolan.org
Mon Feb 27 12:19:25 CET 2012
vlc | branch: master | Ismael Luceno <ismael.luceno at gmail.com> | Mon Feb 27 12:18:44 2012 +0100| [09c815edec7fb4a241fa3ef217f3ed3196da7ce2] | committer: Jean-Baptiste Kempf
uClibc compilation fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09c815edec7fb4a241fa3ef217f3ed3196da7ce2
---
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 28dbed1..7e86a18 100644
--- a/src/posix/linux_specific.c
+++ b/src/posix/linux_specific.c
@@ -74,14 +74,14 @@ error:
return (path != NULL) ? path : strdup (PKGLIBDIR);
}
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
# include <gnu/libc-version.h>
# include <stdlib.h>
#endif
void system_Init (void)
{
-#ifdef __GLIBC__
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
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