Fix RTLD_NEXT in pthreads wokraround

This commit is contained in:
Oleksii Shevchuk 2017-03-02 09:32:44 +02:00 committed by Oleksii Shevchuk
parent 1d89fe6567
commit 6e38e209d5
1 changed files with 4 additions and 0 deletions

View File

@ -218,6 +218,10 @@ cat >>/usr/include/pthread.h <<__EOF__
#define _GNU_SOURCE
#include <dlfcn.h>
#ifndef RTLD_NEXT
#define RTLD_NEXT ((void *) -1l)
#endif
static int (*_pthread_condattr_setclock) (pthread_condattr_t *attr, clockid_t clock_id) = NULL;
static inline