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:
parent
ede4943d7e
commit
3c6fe75149
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user