summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-04-19 22:14:10 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-04-19 22:14:10 +0200
commit96a29fa1900a43d2a7d44eca2704f2164052d8dd (patch)
treef8098c07c59d6e1a1c9d9627b2532c0b67e9cc63 /sal
parentd34daf7462fdf4f885fe3bb8fb7704a2ad73acfa (diff)
Remove unnecessary hack on Linux by using pthread_mutexattr_settype
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/mutex.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sal/osl/unx/mutex.c b/sal/osl/unx/mutex.c
index c784113d6393..0f64104348e1 100644
--- a/sal/osl/unx/mutex.c
+++ b/sal/osl/unx/mutex.c
@@ -34,12 +34,6 @@
#include <pthread.h>
#include <stdlib.h>
-#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
-#endif
-
typedef struct _oslMutexImpl
{
pthread_mutex_t mutex;