diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-09 14:53:12 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-03-09 14:53:12 +0000 |
commit | 55628cb04c5daec6016f9621f31ee853ceed6986 (patch) | |
tree | 595b8ee992ed92fddfca466af66d928a1b49daea /libpthread/linuxthreads/sysdeps/pthread | |
parent | d0a847fd8a6f89095b20c44fac4f28530481a567 (diff) |
Move __clone/__uselocale to uClibc_glue.h
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/pthread')
-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) |