mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 19:40:33 +08:00
__localeconv_l: Always define locale variable lconv
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
7964ad15c1
commit
7ef90f7f9d
@ -5,8 +5,8 @@
|
|||||||
struct lconv *
|
struct lconv *
|
||||||
__localeconv_l (struct __locale_t *locale)
|
__localeconv_l (struct __locale_t *locale)
|
||||||
{
|
{
|
||||||
#ifdef __HAVE_LOCALE_INFO__
|
|
||||||
struct lconv *lconv = &locale->lconv;
|
struct lconv *lconv = &locale->lconv;
|
||||||
|
#ifdef __HAVE_LOCALE_INFO__
|
||||||
const struct lc_numeric_T *n = __get_numeric_locale (locale);
|
const struct lc_numeric_T *n = __get_numeric_locale (locale);
|
||||||
const struct lc_monetary_T *m = __get_monetary_locale (locale);
|
const struct lc_monetary_T *m = __get_monetary_locale (locale);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user