patch-src_misc_linux_specific_c 592 B

12345678910111213141516171819
  1. --- vlc-1.1.11.orig/src/misc/linux_specific.c 2011-07-14 13:27:03.000000000 +0200
  2. +++ vlc-1.1.11/src/misc/linux_specific.c 2011-09-15 06:35:43.887989501 +0200
  3. @@ -83,14 +83,14 @@ static struct
  4. unsigned refs;
  5. } once = { VLC_STATIC_MUTEX, 0 };
  6. -#ifdef __GLIBC__
  7. +#ifndef __UCLIBC__
  8. # include <gnu/libc-version.h>
  9. # include <stdlib.h>
  10. #endif
  11. void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[])
  12. {
  13. -#ifdef __GLIBC__
  14. +#ifndef __UCLIBC__
  15. const char *glcv = gnu_get_libc_version ();
  16. /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing,