blob: eb19cd6ae4f85e8415f6b5aa8426ed69159ba8a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/lib/u/lock.c b/src/lib/u/lock.c
index 025eea4..a2b5b14 100644
--- a/src/lib/u/lock.c
+++ b/src/lib/u/lock.c
@@ -50,7 +50,7 @@
extern int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type);
#endif
-#if defined (__SVR4) && defined (__sun)
+#if defined (__SVR4) && defined (__sun) || defined(__linux__)
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
#endif
|