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
355 B

  1. --- a/src/threading.h
  2. +++ b/src/threading.h
  3. @@ -110,7 +110,7 @@ enum e_status { PENDING, RUNNING, WAITING, DONE, ERROR_ST, CANCELLED };
  4. #endif // PLATFORM_WIN32
  5. #include <pthread.h>
  6. - #ifdef PLATFORM_LINUX
  7. + #if defined(PLATFORM_LINUX) && defined(__UCLIBC__)
  8. # define _MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
  9. #else
  10. /* OS X, ... */