blob: c8c5b0005caadf851c4d678b921d2f5490c2c913 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- gamin-0.1.10.orig/libgamin/gam_data.c
+++ gamin-0.1.10/libgamin/gam_data.c
@@ -470,7 +470,7 @@
}
if (is_threaded > 0) {
pthread_mutexattr_init(&attr);
-#if defined(linux) || defined(PTHREAD_MUTEX_RECURSIVE_NP)
+#if defined(linux) && defined(PTHREAD_MUTEX_RECURSIVE_NP)
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
#else
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
|