Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/lmonetary.h')
-rw-r--r--newlib/libc/locale/lmonetary.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/newlib/libc/locale/lmonetary.h b/newlib/libc/locale/lmonetary.h
index 14c9cc15d..7aa21e298 100644
--- a/newlib/libc/locale/lmonetary.h
+++ b/newlib/libc/locale/lmonetary.h
@@ -29,7 +29,9 @@
#ifndef _LMONETARY_H_
#define _LMONETARY_H_
+#include <_ansi.h>
#include <sys/cdefs.h>
+#include <wchar.h>
__BEGIN_DECLS
@@ -49,6 +51,21 @@ struct lc_monetary_T {
const char *n_sep_by_space;
const char *p_sign_posn;
const char *n_sign_posn;
+#ifdef __HAVE_LOCALE_INFO_EXTENDED__
+ const char *int_p_cs_precedes;
+ const char *int_p_sep_by_space;
+ const char *int_n_cs_precedes;
+ const char *int_n_sep_by_space;
+ const char *int_p_sign_posn;
+ const char *int_n_sign_posn;
+ const char *codeset; /* codeset for mbtowc conversion */
+ const wchar_t *wint_curr_symbol;
+ const wchar_t *wcurrency_symbol;
+ const wchar_t *wmon_decimal_point;
+ const wchar_t *wmon_thousands_sep;
+ const wchar_t *wpositive_sign;
+ const wchar_t *wnegative_sign;
+#endif
};
struct lc_monetary_T *__get_current_monetary_locale(void);