Kaydet (Commit) 0cca713f authored tarafından Noel Grandin's avatar Noel Grandin

attempt to fix linux build

on some older boxes, after my commit
dac4ca5f "new loplugin: externalandnotdefined"

Change-Id: Ibcab5f39714fb531066709e91a7322270995a6a5
üst dac4ca5f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment