OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa64b8
)
Build also if XLOCALE is enabled
author
Peter S. Mazinger
<ps.m@gmx.net>
Wed, 4 Jan 2006 23:24:02 +0000
(23:24 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Wed, 4 Jan 2006 23:24:02 +0000
(23:24 -0000)
libpthread/linuxthreads.old/libc_pthread_init.c
patch
|
blob
|
history
diff --git
a/libpthread/linuxthreads.old/libc_pthread_init.c
b/libpthread/linuxthreads.old/libc_pthread_init.c
index
4afb65a
..
6cc674b
100644
(file)
--- a/
libpthread/linuxthreads.old/libc_pthread_init.c
+++ b/
libpthread/linuxthreads.old/libc_pthread_init.c
@@
-17,6
+17,7
@@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define _GNU_SOURCE
#include <features.h>
#include <locale.h>
#include <stdlib.h>
@@
-24,6
+25,10
@@
#include "internals.h"
#include "sysdeps/pthread/pthread-functions.h"
+#if !(USE_TLS && HAVE___THREAD) && defined __UCLIBC_HAS_XLOCALE__
+extern __locale_t __uselocale (__locale_t __dataset) __THROW;
+#endif
+
int __libc_multiple_threads attribute_hidden __attribute__((nocommon));
int *