summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-07-11 14:40:18 +0200
committerNoel Grandin <noel@peralex.com>2014-07-11 14:40:18 +0200
commit0cca713f69710d1312acdde9115b359dd8bfc010 (patch)
treecd46c14c3d1e96adbe13c3a41716423810f07171 /sal
parentdac4ca5f682fdd0c3eee7f7ee1d98c9b3c8b7ce4 (diff)
attempt to fix linux build
on some older boxes, after my commit dac4ca5 "new loplugin: externalandnotdefined" Change-Id: Ibcab5f39714fb531066709e91a7322270995a6a5
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 f48e2e22b11c..66a51509df52 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 && !((__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 0)) /* 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