summaryrefslogtreecommitdiff
path: root/sal/osl/unx/mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/mutex.c')
-rw-r--r--sal/osl/unx/mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/mutex.c b/sal/osl/unx/mutex.c
index a43f6627f5ef..a8eb99dd7fed 100644
--- a/sal/osl/unx/mutex.c
+++ b/sal/osl/unx/mutex.c
@@ -25,7 +25,7 @@
#include <pthread.h>
#include <stdlib.h>
-#if defined LINUX && (__GLIBC__ == 2) && (__GLIBC_MINOR__ <= 1) /* bad hack */
+#if defined LINUX /* bad hack */
int pthread_mutexattr_setkind_np(pthread_mutexattr_t *, int);
#define pthread_mutexattr_settype pthread_mutexattr_setkind_np
#define PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP