sal/osl/unx/mutex.c | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit 96a29fa1900a43d2a7d44eca2704f2164052d8dd
Author: Arnaud Versini <[email protected]>
Date: Thu Apr 19 22:14:10 2012 +0200
Remove unnecessary hack on Linux by using pthread_mutexattr_settype
diff --git a/sal/osl/unx/mutex.c b/sal/osl/unx/mutex.c
index c784113..0f64104 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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits