blob: 3e720ec009d2b57d577f4dd40910efab5737700f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- vlc-2.2.1.orig/src/posix/error.c 2014-08-14 02:20:04.000000000 -0500
+++ vlc-2.2.1/src/posix/error.c 2015-04-25 21:13:22.287684003 -0500
@@ -48,7 +48,11 @@ static const char *vlc_strerror_l(int er
errno = saved_errno;
}
+#if defined(__UCLIBC__)
+ const char *buf = strerror_r(errnum, loc, 100);
+#else
const char *buf = strerror_l(errnum, loc);
+#endif
freelocale(loc);
return buf;
|