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.
 
 
 
 
 
 

12 lines
380 B

Index: src/os/linux/linux.c
--- src/os/linux/linux.c.orig 2006-10-04 19:54:54 +0200
+++ src/os/linux/linux.c 2006-10-11 19:04:23 +0200
@@ -121,7 +121,7 @@
*/
#ifdef USE_MULTITHREADING
pthread_mutexattr_init(&attr);
-#ifndef OSX
+#if defined(__linux__)
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
#endif /* !OSX */
#endif /* USE_MULTITHREADING */