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