From 3c6fe751497705172011bdac05a82914199465d6 Mon Sep 17 00:00:00 2001 From: Lectem Date: Wed, 20 May 2015 12:18:28 +0200 Subject: [PATCH] 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. --- modules/core/src/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp index 53ebd00eff..f5a1af2ac4 100644 --- a/modules/core/src/system.cpp +++ b/modules/core/src/system.cpp @@ -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 {