diff options
-rw-r--r-- | libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h index 50facde27..17c4b24b3 100644 --- a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h +++ b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h @@ -30,10 +30,12 @@ #define __clone clone /* taken from ldsodefs.h, modified */ -#define GL(name) _##name +#ifdef SHARED +# define GL(name) _##name void (*_dl_rtld_lock_recursive) (void *); void (*_dl_rtld_unlock_recursive) (void *); void **(*_dl_error_catch_tsd) (void) __attribute__ ((const)); +#endif extern void *__libc_stack_end; extern int __cxa_atexit (void (*func) (void *), void *arg, void *d); |