aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fuse/mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fuse/mutex.c b/src/fuse/mutex.c
index 97b62a8..beb6f93 100644
--- a/src/fuse/mutex.c
+++ b/src/fuse/mutex.c
@@ -67,7 +67,7 @@ GNUNET_mutex_create (int isRecursive)
67 pthread_mutexattr_init (&attr); 67 pthread_mutexattr_init (&attr);
68 if (isRecursive) 68 if (isRecursive)
69 { 69 {
70#if __linux__ 70#ifdef __linux__
71 GNUNET_assert (0 == pthread_mutexattr_setkind_np 71 GNUNET_assert (0 == pthread_mutexattr_setkind_np
72 (&attr, PTHREAD_MUTEX_RECURSIVE_NP)); 72 (&attr, PTHREAD_MUTEX_RECURSIVE_NP));
73#elif BSD || SOLARIS || OSX || WINDOWS 73#elif BSD || SOLARIS || OSX || WINDOWS
@@ -77,7 +77,7 @@ GNUNET_mutex_create (int isRecursive)
77 } 77 }
78 else 78 else
79 { 79 {
80#if __linux__ 80#ifdef __linux__
81 GNUNET_assert (0 == pthread_mutexattr_setkind_np 81 GNUNET_assert (0 == pthread_mutexattr_setkind_np
82 (&attr, PTHREAD_MUTEX_ERRORCHECK_NP)); 82 (&attr, PTHREAD_MUTEX_ERRORCHECK_NP));
83#else 83#else