From 96a29fa1900a43d2a7d44eca2704f2164052d8dd Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Thu, 19 Apr 2012 22:14:10 +0200 Subject: Remove unnecessary hack on Linux by using pthread_mutexattr_settype --- sal/osl/unx/mutex.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sal/osl') 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 #include -#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; -- cgit