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.c')
-rw-r--r--newlib/libc/locale/lmonetary.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/locale/lmonetary.c b/newlib/libc/locale/lmonetary.c
index f1101a902..80c2d0442 100644
--- a/newlib/libc/locale/lmonetary.c
+++ b/newlib/libc/locale/lmonetary.c
@@ -79,6 +79,7 @@ static struct lc_monetary_T _monetary_locale;
static int _monetary_using_locale;
static char *_monetary_locale_buf;
+#ifndef __CYGWIN__
static char
cnv(const char *str) {
int i = strtol(str, NULL, 10);
@@ -86,6 +87,7 @@ cnv(const char *str) {
i = CHAR_MAX;
return (char)i;
}
+#endif
int
__monetary_load_locale(const char *name , void *f_wctomb, const char *charset)