diff options
Diffstat (limited to 'libpthread/linuxthreads/sysdeps')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h index 094c7fccf..5a72b7703 100644 --- a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h +++ b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h @@ -27,12 +27,20 @@ #define __close close #define __on_exit on_exit #define __libc_current_sigrtmin_private __libc_current_sigrtmin +#define __clone clone extern void *__libc_stack_end; extern int __cxa_atexit (void (*func) (void *), void *arg, void *d); #endif /* IS_IN_libpthread */ +#ifdef __UCLIBC_HAS_XLOCALE__ +# define __uselocale(x) uselocale(x) +libc_hidden_proto(uselocale) +#else +# define __uselocale(x) ((void)0) +#endif + /* Use a funky version in a probably vein attempt at preventing gdb * from dlopen()'ing glibc's libthread_db library... */ #define STRINGIFY(s) STRINGIFY2 (s) |