12345678910111213141516171819202122232425262728293031323334 |
- #include <locale.h>
- #include <string.h>
- int __libc_multiple_threads attribute_hidden __attribute__((nocommon));
- int * __libc_pthread_init (void)
- {
- #if !defined __UCLIBC_HAS_TLS__ && defined __UCLIBC_HAS_XLOCALE__
-
- uselocale (LC_GLOBAL_LOCALE);
- #endif
- return &__libc_multiple_threads;
- }
|