Commit d5d20501 authored by Rafaël Carré's avatar Rafaël Carré

threads patch: Remove useless hunk

parent 70919abc
......@@ -88,7 +88,7 @@ export PLATFORM_SHORT_ARCH
export PATH=${ANDROID_NDK}/toolchains/${PATH_HOST}-${GCCVER}/prebuilt/`uname|tr A-Z a-z`-x86/bin:${PATH}
# 1/ libvlc, libvlccore and its plugins
TESTED_HASH=7a216cf
TESTED_HASH=a597327a
if [ ! -d "vlc" ]; then
echo "VLC source not found, cloning"
git clone git://git.videolan.org/vlc.git vlc
......
......@@ -188,20 +188,6 @@ index 1fc2b67..4bdc7b5 100644
#if (_POSIX_TIMERS > 0)
static unsigned vlc_clock_prec;
@@ -141,10 +154,11 @@ void vlc_trace (const char *fn, const char *file, unsigned line)
static inline unsigned long vlc_threadid (void)
{
-#if defined (__linux__)
+#if defined (__ANDROID__)
+ return syscall (__NR_gettid);
+#elif defined (__linux__)
/* glibc does not provide a call for this */
return syscall (SYS_gettid);
-
#else
union { pthread_t th; unsigned long int i; } v = { };
v.th = pthread_self ();
@@ -162,7 +176,7 @@ vlc_thread_fatal (const char *action, int error,
const char *function, const char *file, unsigned line)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment