summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-07-12 12:14:58 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-07-12 12:14:58 +0100
commit231db56d020d95e9bcf2520cb3c64235d99aa650 (patch)
treeeb099e16771d36e8ef6bc2a685dca3e0a027c980 /sal
parentfb0b42b89af95b42cc6caadf8c22321e5c9386e8 (diff)
sal: restore pthread to its original non-ideal state.
Hopefully repairs the tinderboxen. Change-Id: I2933e6cbf1079a09dab48d4f7ed20b93634d8959
Diffstat (limited to 'sal')
-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