summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-07-11 15:43:06 +0200
committerNoel Grandin <noel@peralex.com>2014-07-11 15:44:21 +0200
commit0a70789991152ca56007f56aaf44e85d14cc2dcf (patch)
treef8486226c5bd69a2298d47aeab0c84caa17c55e5 /sal
parent76631b6b9147dd83006a6382441d311f668f3286 (diff)
complete shot-in-the-dark to fix tinderbox build
tinderbox 50 is failing, trying to fix it Change-Id: I81e3cbdb224110af3036f5726228fd88aba32748
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 66a51509df52..a43f6627f5ef 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__ >= 0)) /* bad hack */
+#if defined LINUX && (__GLIBC__ == 2) && (__GLIBC_MINOR__ <= 1) /* 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