mirror of https://github.com/n1nj4sec/pupy.git
Fix RTLD_NEXT in pthreads wokraround
This commit is contained in:
parent
1d89fe6567
commit
6e38e209d5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue