You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
324 B

--- a/src/threading.h
+++ b/src/threading.h
@@ -110,7 +110,7 @@ enum e_status { PENDING, RUNNING, WAITIN
#endif // PLATFORM_WIN32
#include <pthread.h>
- #ifdef PLATFORM_LINUX
+ #if defined(PLATFORM_LINUX) && defined(__UCLIBC__)
# define _MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
#else
/* OS X, ... */