fix mutex for uclibc

The uClibc doesn't have pthread_spin_* implemented on their 'old' linux threads.
Since it is on linux, we have to check if uclibc is using this implementation or not.
This commit is contained in:
Lectem 2015-05-20 12:18:28 +02:00
parent ede4943d7e
commit 3c6fe75149

View File

@ -923,7 +923,7 @@ struct Mutex::Impl
int refcount;
};
#elif defined __linux__ && !defined ANDROID
#elif defined __linux__ && !defined ANDROID && !defined __LINUXTHREADS_OLD__
struct Mutex::Impl
{