OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1937302
)
locale.c: export newlocale only if XLOCALE is defined
author
Peter S. Mazinger
<ps.m@gmx.net>
Mon, 7 Mar 2011 16:39:14 +0000
(17:39 +0100)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Mon, 7 Mar 2011 16:39:14 +0000
(17:39 +0100)
newlocale is used by setlocale, so we need the hidden version
even if XLOCALE is not defined
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
libc/misc/locale/locale.c
patch
|
blob
|
history
diff --git
a/libc/misc/locale/locale.c
b/libc/misc/locale/locale.c
index
e49cd3b
..
40303ab
100644
(file)
--- a/
libc/misc/locale/locale.c
+++ b/
libc/misc/locale/locale.c
@@
-1303,7
+1303,9
@@
__locale_t newlocale(int category_mask, const char *locale, __locale_t base)
return base;
}
+#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_def(newlocale)
+#endif
#endif
/**********************************************************************/